Pipe.onError

void onError(ErrorCallback callback) @safe

Register a callback for pipe errors.

Fires on I/O errors. The pipe may remain usable after transient errors. Thread affinity: event loop thread only. Non-reentrant.

Parameters

callbackHandler invoked on pipe errors.