Error object

In the Open Web apps JavaScript API, a DOMError object is returned by a function when an error occurs.

Properties

Name Description Type
name Read-only error type name (see below). DOMString

Error types

Name Description
DENIED The user cancelled the installation.
INVALID_MANIFEST The manifest, while well-formed JSON, does not have some required field or is somehow invalid.
MANIFEST_URL_ERROR Something other than an HTTP 200 status code was received, or some connection errors.
MANIFEST_PARSE_ERROR Bad JSON in the manifest.
NETWORK_ERROR Connection error.

DOMError for other purposes

Document Tags and Contributors

Tags: 
 Contributors to this page: chrisdavidmills, kohei.yoshino, Sheppy, markg, jswisher
 Last updated by: chrisdavidmills,