Type alias ErrorMessageCallback

ErrorMessageCallback: ((issues, input) => string)

Type declaration

    • (issues, input): string
    • Returns a human-readable message that describes issues that were raised during input parsing.

      Parameters

      • issues: Issue[]

        The array of issues that were raised.

      • input: any

        The input value that was parsed.

      Returns string