Function throwValidationError

  • Throws an Error with the (optionally) provided error message.

    Parameters

    • Optional errorMessage: string

    Returns never

Generated using TypeDoc