mapErr abstract method

Result<T> mapErr(
  1. @noFuturesAllowed Err<T> noFuturesAllowed(
    1. Err<T> err
    )
)

Transforms the inner Err instance if this is an Err.

Implementation

Result<T> mapErr(
  @noFuturesAllowed Err<T> Function(Err<T> err) noFuturesAllowed,
);