handleError method

Decoder<A> handleError(
  1. A onFailure(
    1. DecodingError
    )
)

Implementation

Decoder<A> handleError(A Function(DecodingError) onFailure) =>
    handleErrorWith((err) => pure(onFailure(err)));