error
Property of dom/Elementdom/Element
Syntax
var result = element.error;
element.error = value;
Notes
Remarks
Fires the onerror event and passes the associated error to the error property. Error codes map directly to World Wide Web Consortium (W3C) file errors, as described in the following table.
Type | Description |
---|---|
NotFoundError | The resource (File, Blob, or msStream) could not be found at the time the read was processed. |
SecurityError | One of the following occurred:
|
NotReadableError | The resource could not be read. This may occur due to permission problems on the file. |
EncodingError | The resource could not be encoded due to data URL length limitations. |
This property is null
unless there is an error.
Syntax
See also
Related pages
- FileReaderFileReader
- msStreamReadermsStreamReader
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]