handleErrorWith method
Implementation
Decoder<A> handleErrorWith(Decoder<A> Function(DecodingError) onFailure) =>
Decoder._unkeyed((json) =>
decode(json).fold((err) => onFailure(err).decode(json), right));
Decoder<A> handleErrorWith(Decoder<A> Function(DecodingError) onFailure) =>
Decoder._unkeyed((json) =>
decode(json).fold((err) => onFailure(err).decode(json), right));