Function throwError

  • Throws an error with the given error message.

    Parameters

    • errorMessage: string

      The error message to throw.

    Returns never

    Throws

    • Always throws an error with the given error message.

Generated using TypeDoc