inspectErr method

FutureResult<S, F> inspectErr(
  1. FutureOr<void> fn(
    1. F error
    )
)

Implementation

FutureResult<S, F> inspectErr(FutureOr<void> Function(F error) fn) {
  return then((result) => result.inspectErr(fn));
}