inspectErr abstract method

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

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

Implementation

Result<S, F> inspectErr(void Function(F error) fn);