nsIDOMFileError

  • Revision slug: nsIDOMFileError
  • Revision title: nsIDOMFileError
  • Revision id: 28745
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment 13 words added, 1 words removed

Revision Content

{{ gecko_minversion_header("1.9.2") }}

The nsIDOMFileError interface describes errors that occur while using the DOM File API.

Attributes

Attribute Type Description
code unsigned short
The error code.

Error codes

Constant Value Description
NOT_FOUND_ERR 8 File not found.
NOT_READABLE_ERR 24 File could not be read.
SECURITY_ERR 18 The file could not be accessed for security reasons.
ABORT_ERR 25 What does this error mean?
ENCODING_ERR 26 What does this error mean?

See also

coming soon

Revision Source

<p>{{ gecko_minversion_header("1.9.2") }}</p>
<p>The <code>nsIDOMFileError</code> interface describes errors that occur while using the DOM File API.</p>
<h2 name="Attributes">Attributes</h2>
<table class="standard-table"> <tbody> <tr> <td class="header">Attribute</td> <td class="header">Type</td> <td class="header">Description</td> </tr> <tr> <td><code>code</code></td> <td><code>unsigned short<br> </code></td> <td>The <a href="/en/nsIDOMFileError#Error_codes" title="en/nsIDOMFileError#Error codes">error code</a>.</td> </tr> </tbody>
</table>
<h2>Error codes</h2>
<table class="standard-table"> <tbody> <tr> <td class="header">Constant</td> <td class="header">Value</td> <td class="header">Description</td> </tr> <tr> <td><code>NOT_FOUND_ERR</code></td> <td>8</td> <td>File not found.</td> </tr> <tr> <td><code>NOT_READABLE_ERR</code></td> <td>24</td> <td>File could not be read.</td> </tr> <tr> <td><code>SECURITY_ERR</code></td> <td>18</td> <td>The file could not be accessed for security reasons.</td> </tr> <tr> <td><code>ABORT_ERR</code></td> <td>25</td> <td><em>What does this error mean?</em></td> </tr> <tr> <td><code>ENCODING_ERR</code></td> <td>26</td> <td><em>What does this error mean?<br> </em></td> </tr> </tbody>
</table>
<h2>See also</h2>
<p>coming soon</p>
Revert to this revision