Pipe.onError
void onError(ErrorCallback callback) @safeRegister 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
callback | Handler invoked on pipe errors. |