PipeEndState.fail

void fail(int errorNumber) @trusted nothrow

Transition the pipe to error state.

Invokes the error callback and closes the pipe.

Parameters

errorNumberThe error code to report.