Published 2014-10-28 | (Compatible with SDK 3.5 and 2012 models)

Attributes Attribute Description
readonly short code 16-bit error code. This attribute is readonly.
readonly DOMString message Error message. Describes the details of the error encountered. This attribute is not intended to be used directly in the user interfaces as it is mainly intended to be useful for developers rather than end-users
Constants Constant Description
const short UNKNOWN_ERR Generic Error
const short INDEX_SIZE_ERR If index or size is negative, or greater than the allowed value.
const short DOMSTRING_SIZE_ERR If the specified range of text does not fit into a DOMString.
const short HIERARCHY_REQUEST_ERR If any Node is inserted somewhere it doesn’t belong.
const short WRONG_DOCUMENT_ERR If a Node is used in a different document than the one that created it (that doesn’t support it).
const short INVALID_CHARACTER_ERR If an invalid or illegal character is specified, such as in an XML name.
const short NO_DATA_ALLOWED_ERR If data is specified for a Node which does not support data..
const short NO_MODIFICATION_ALLOWED_ERR If an attempt is made to modify an object where modifications are not allowed.
const short NOT_FOUND_ERR If an attempt is made to reference a Node in a context where it does not exist.
const short NOT_SUPPORTED_ERR If the implementation does not support the requested type of object or operation.
const short INUSE_ATTRIBUTE_ERR If an attempt is made to add an attribute that is already in use elsewhere.
const short INVALID_STATE_ERR If an attempt is made to use an object that is not, or is no longer, usable.
const short SYNTAX_ERR If an invalid or illegal string is specified.
const short INVALID_MODIFICATION_ERR If an attempt is made to modify the type of the underlying object.
const short NAMESPACE_ERR If an attempt is made to create or change an object in a way which is incorrect with regard to namespaces.
const short INVALID_ACCESS_ERR If a parameter or an operation is not supported by the underlying object.
const short VALIDATION_ERR If a call to a method such as insertBefore or removeChild would make the Node invalid with respect to “partial validity”, this exception would be raised and the operation would not be done. This code is used in DOM Level 3 Validation
const short TYPE_MISMATCH_ERR If the type of an object is incompatible with the expected type of the parameter associated to the object.
const short SECURITY_ERR If an attempt is made to perform an operation or access some data in a way that would be a security risk or a violation of the user agent’s security policy.
const short NETWORK_ERR If a network error occurs in synchronous requests.
const short ABORT_ERR If the abort error occurs in asynchronous requests by user prompt.
const short TIMEOUT_ERR If the operation could not be completed because it timed out.
const short INVALID_VALUES_ERR If the content of an object does not include valid values.
const short OUT_OF_MEMORY_ERR If the system memory lacks of memory for an operation
const short NOT_CONNECTED_SERVICE_ERR If the service framework is not connected yet
const short FAIL_TO_REQUEST_ERR If it is failed to send a request to a device
const short INVALID_RESPONSE_ERR If the received data is not valid
const short NO_AVAILABLE_NETWORK_ERR If there is no available network
const short INVALID_DEVICE_ERR If the device is invalid
const short NOT_SUPPORTED_FUNCTION_ERR If a device does not support required services or functions
const short NO_PERMISSION_ERR If a device does not allow to be requested because the requester does not have a proper permission
const short INVALID_ITEM_ERR If the item does not exist
const short FAIL_TO_PLAY_ERR If it is failed to play a content