Closed arnetheduck closed 2 years ago
Result[T, void]
Opt[T]
Option[T]
flatten
filter
Option
tryError
$
ok
err
orErr
valueOr
unsafeError
unsafeGet
errorOr
Result[T, void]
(akaOpt[T]
akaOption[T]
)flatten
,filter
ofOption
fametryError
that raises a regular exception when result holds a value$
to printok
/err
in lower-case, like the functions that created the resultorErr
that collapses all errors to a single value of a potentially different type - useful when translating errors between layersvalueOr
unsafeError
to matchunsafeGet
valueOr
evaluate a blockerrorOr
to mirrorvalueOr