Class: AjaxError

Drupal.AjaxError(xmlhttp, uri, customMessage)

new AjaxError(xmlhttp, uri, customMessage)

Extends Error to provide handling for Errors in Ajax.

Parameters:
Name Type Description
xmlhttp XMLHttpRequest

XMLHttpRequest object used for the failed request.

uri string

The URI where the error occurred.

customMessage string

The custom message.

Source:

Extends

  • Error

Members

message :string

Formatted and translated error message.

Type:
  • string
Source:

name :string

Used by some browsers to display a more accurate stack trace.

Type:
  • string
Source: