andThenErr<W extends Object> abstract method

Result<S, W> andThenErr<W extends Object>(
  1. Result<S, W> fn(
    1. F error
    )
)

/ If Err, Returns a new Result by passing the Err value to the provided function.

Implementation

Result<S, W> andThenErr<W extends Object>(Result<S, W> Function(F error) fn);