unwrapErrOrElse abstract method
F
unwrapErrOrElse(
- F onOk(
- S ok
Returns the encapsulated value if this instance represents Err
or the result of onError
function for
the encapsulated a Err value.
Implementation
F unwrapErrOrElse(F Function(S ok) onOk);