mapError
mapError<
E,F,A>(f): (outcome) =>Outcome<F,A>
Defined in: Core/Op.ts:626
Transforms the error value. Ok and Nil pass through unchanged.
Type Parameters
Section titled “Type Parameters”E
F
A
Parameters
Section titled “Parameters”(e) => F
Returns
Section titled “Returns”(
outcome):Outcome<F,A>
Parameters
Section titled “Parameters”outcome
Section titled “outcome”Outcome<E, A>
Returns
Section titled “Returns”Outcome<F, A>