mapError<E2> method

Effect<A, E2, R> mapError<E2>(
  1. E2 f(
    1. E
    )
)

Maps the error value of this effect

Implementation

Effect<A, E2, R> mapError<E2>(E2 Function(E) f) => _MapError(this, f);