Class: AjaxError

Drupal. AjaxError

new Drupal.AjaxError(xmlhttp, uri, customMessage)

Extends Error to provide handling for Errors in Ajax.

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

messagestring

Formatted and translated error message.

namestring

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