Visit Mozilla.org

nsIDOMFileException

From MDC

This article covers features introduced in Firefox 3

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

Contents

nsIDOMFileException is defined in content/base/public/nsIDOMFileException.idl. It is scriptable and unfrozen (hasn't changed since Mozilla 1.9).

[edit] Attributes

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

[edit] Constants

Constant Value Description
NOT_FOUND_ERR 0 The specified file wasn't found.
NOT_READABLE_ERR 1 The specified file wasn't readable.

[edit] See also

nsIDOMFile, nsIDOMFileList