Documentation
Dlang.org
Expected.this
expectations
Expected
Constructs an
Expected
object that contains an error value.
this
(
T
value
)
this
(
E
err
)
struct
Expected
(T, E = Exception)
this
(
E
err
)
if
(
!
is
(
T
==
E
) &&
!
is
(
T
==
void
)
)
Meta
Source
See Implementation
expectations
Expected
constructors
this
functions
error
hasValue
opAssign
opEquals
value
valueOr
Constructs an Expected object that contains an error value.