Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

nsIDOMFileException

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)

Attributes

Attribute Type Description
code unsigned short The error code describing the error condition that took place; see the constants list for details.

Constants

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

Document Tags and Contributors

 Contributors to this page: teoli, Sheppy, Kohei
 Last updated by: Sheppy,