The nsIDOMFileException interface represents exceptions that can be raised by calls to the methods in the nsIDOMFile interface.
| Attribute | Type | Description |
code |
unsigned short |
The error code describing the error condition that took place; see the constants list for details. |
| Constant | Value | Description |
NOT_FOUND_ERR |
0 | The specified file wasn't found. |
NOT_READABLE_ERR |
1 | The specified file wasn't readable. |