whenError<R> abstract method
R?
whenError<R>(
- R whenError(
- E error
Execute whenError
if the Result is an error.
Implementation
R? whenError<R>(
R Function(E error) whenError,
);