AjaxError

Drupal. AjaxError

new AjaxError(xmlhttp, uri, customMessage)

Source:
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.

Extends

  • Error

Members

message :string

Source:
Formatted and translated error message.
Type:
  • string

name :string

Source:
Used by some browsers to display a more accurate stack trace.
Type:
  • string