Type alias FailureHandler<S>

FailureHandler<S>: ((ctx) => ((trace) => ((message) => ParseResult<S>)))

Type Parameters

  • S

Type declaration

    • (ctx): ((trace) => ((message) => ParseResult<S>))
    • A function that handles an error on parsing by a Decoder.

      Parameters

      Returns ((trace) => ((message) => ParseResult<S>))

      The result of parsing. It is usually a failure.

Generated using TypeDoc