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.

content/base/public/nsIDOMFileException.idlScriptable
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