FailureData: { failure: null | Flag<Fail>; phrase: string }

Data passed to functions that run when things failed.

Type declaration

  • failure: null | Flag<Fail>

    The value that failed if there was one, otherwise null.

  • phrase: string

    The input phrase that failed if there was one, otherwise an empty string.