This is an archived page. It's not actively maintained.

Error object

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


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