expected v0.1.0 (2019-05-06T19:12:13Z)
Dub
Repo
expected
expected
Creates an
Expected
object from an expected value, with type inference.
Expected
!(
T
,
E
,
Hook
)
expected
(T value)
@
safe
Expected
!(
T
,
E
,
Hook
)
expected
(
E
=
string
Hook
=
Abort
T
)
(
T
value
)
Expected
!(
void
,
E
,
Hook
)
expected
()
template
expected
(alias fun, Hook = Abort)
Meta
Source
See Implementation
expected
classes
Unexpected
functions
andThen
expected
orElse
unexpected
structs
Abort
Expected
Throw
templates
hasOnAccessEmptyError
hasOnAccessEmptyValue
hasOnUnchecked
isCopyConstructorEnabled
isDefaultConstructorEnabled
map
mapError
mapOrElse
Creates an Expected object from an expected value, with type inference.