handleError method

Decoder<A> handleError(
  1. Function1<DecodingFailure, A> f
)

Implementation

Decoder<A> handleError(Function1<DecodingFailure, A> f) =>
    handleErrorWith((err) => Decoder.instance((_) => f(err).asRight()));