inspectErr method

  1. @override
Ok<S, F> inspectErr(
  1. void fn(
    1. F error
    )
)
override

If Err, Calls the provided closure with the err value, else does nothing.

Implementation

@override
Ok<S, F> inspectErr(void Function(F error) fn) {
  return this;
}