• Throw an error exception with the specified optional message

    Parameters

    • Optionalmessage: string

      The optional message to include in the error

    Returns never