withErrorMessage method

Decoder<A> withErrorMessage(
  1. String message
)

Implementation

Decoder<A> withErrorMessage(String message) =>
    handleErrorWith((err) => Decoder.error(err.withReason(message)));