Handler for case when empty error is accessed.
Handler for case when empty value is accessed.
static assert(!isDefaultConstructorEnabled!Abort); static assert(hasOnAccessEmptyValue!(Abort, string)); static assert(hasOnAccessEmptyValue!(Abort, int)); static assert(hasOnAccessEmptyError!Abort); version (D_Exceptions) { assertThrown!Throwable(ok(42).error); assertThrown!Throwable(err!int("foo").value); }
Default hook implementation for Expected