Expected.error

Returns the error value. May only be called when hasValue returns false.

struct Expected(T, E = Exception)
inout(E)
error
inout
(
)
in { assert (!hasValue); }
if (
!is(T == E) &&
!is(T == void)
)

Meta