ErrorCode.this

Constructor.

struct ErrorCode
@nogc nothrow pure @safe
this
()

Parameters

value ErrorNo

Numeric error code.

Examples

ErrorCode ec;
assert(ec == ErrorCode.success);

ec = ErrorCode.fault;
assert(ec == ErrorCode.fault);

Meta