matchErr<R> method

  1. @override
R? matchErr<R>(
  1. R errop(
    1. E
    )
)
override

Invokes the errop if the result is Err, otherwise does nothing.

Implementation

@override
R? matchErr<R>(R Function(E) errop) => errop(_err);