jcli v0.12.0 (2021-01-28T09:25:30Z)
Dub
Repo
Result.failureIf
jaster
cli
result
Result
Undocumented in source. Be warned that the author may not have intended to support it.
Result
!
T
failureIf
(bool condition, T value, string error)
Result
!
T
failureIf
(bool condition, string error)
struct
Result
(T)
static
static if
(
is(T == void)
)
Result
!
T
failureIf
()
(
bool
condition
,
string
error
)
Meta
Source
See Implementation
jaster
cli
result
Result
constructors
this
functions
asType
isType
static functions
failure
failureIf
success
structs
Failure
Success