DOMRequest.error

This property can contain error information in a DOMError object.

Note: This feature is available in Web Workers.

Syntax

var errorname = request.error.name;

Where request is a DOMRequest object. This gets the name of the error. See DOMError for the error types.

Specifications

Not part of any current specification.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? 16.0 (16.0) ? ? ?
Available in workers ? 41.0 (41.0) ? ? ?
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? 16.0 (16.0) ? ? ?
Available in workers ? ? 41.0 (41.0) ? ? ?

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, fscholz, teoli, MHasan, kscarfone, Sheppy, tregagnon, markg
 Last updated by: chrisdavidmills,