• Skip to main content
  • Select language
  • Skip to search
MDN Web Docs
  • Technologies
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs / DOM
    • WebExtensions
    • MathML
  • References & Guides
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
B2G OS
  1. MDN
  2. Archive of obsolete content
  3. B2G OS
  4. B2G OS APIs
  5. DOMRequest
  6. DOMRequest.error

DOMRequest.error

In This Article
  1. Syntax
  2. Specifications
  3. Browser compatibility
  4. See also

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

  • Desktop
  • Mobile
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

  • DOMRequest
  • DOMRequest.onsuccess
  • DOMRequest.onerror
  • DOMRequest.readyState
  • DOMRequest.result

Document Tags and Contributors

Tags: 
  • API
  • DOM
  • Non Standard
  • Property
  • Reference
 Contributors to this page: chrisdavidmills, fscholz, teoli, MHasan, kscarfone, Sheppy, tregagnon, markg
 Last updated by: chrisdavidmills, Feb 27, 2017, 2:07:11 AM
See also
  1. Archive
  2. Related pages for DOM (Non-standard)
    1. DOMCursor