matchErr<R> method
Invokes the errop
if the result is Err
, otherwise does nothing.
Implementation
Future<R?> matchErr<R>(R Function(E) errop) =>
then((result) => result.matchErr(errop));
Invokes the errop
if the result is Err
, otherwise does nothing.
Future<R?> matchErr<R>(R Function(E) errop) =>
then((result) => result.matchErr(errop));