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