Documentation
Dlang.org
Unexpected.this
expected
Unexpected
Constructs an
Unexpected
exception from an error value.
class
Unexpected
(T)
pure @
safe
@
nogc
nothrow
this
()
(
auto
ref
T
value
,
string
file
= __FILE__
,
size_t
line
= __LINE__
)
Meta
Source
See Implementation
expected
Unexpected
constructors
this
Constructs an Unexpected exception from an error value.