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


The nsIDOMFileException interface represents exceptions that can be raised by calls to the methods in the nsIDOMFile interface.

Note: Gecko's implementation of this interface presently differs from the working draft of the File API specification.

Please add a summary to this article.
  Last changed in Gecko 1.9 (Firefox 3)


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.

See also