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