FileReader.error

  • Revision slug: Web/API/FileReader.error
  • Revision title: FileReader.error
  • Revision id: 481267
  • Created:
  • Creator: Jeremie
  • Is current revision? Yes
  • Comment

Revision Content

Summary

Returns the error that occurred while reading the file.

Syntax

var error = instanceOfFileReader.error

Value

A {{domxref("DOMError")}}

Specifications

{{page("/en-US/docs/Web/API/FileReader","Specifications")}}

Browser compatibility

{{page("/en-US/docs/Web/API/FileReader","Browser compatibility")}}

See also

  • {{domxref("FileReader")}}

Revision Source

<h2 id="Summary">Summary</h2>
<p>Returns the error that occurred while reading the file.</p>
<h2 id="Syntax">Syntax</h2>
<pre class="syntaxbox">
var error = <em>instanceOfFile</em>Reader.error
</pre>
<h2 id="Value">Value</h2>
<p>A {{domxref("DOMError")}}</p>
<h2 id="Browser_Compatibility" name="Browser_Compatibility">Specifications</h2>
<p>{{page("/en-US/docs/Web/API/FileReader","Specifications")}}</p>
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
<p>{{page("/en-US/docs/Web/API/FileReader","Browser compatibility")}}</p>
<h2 id="Specification" name="Specification">See also</h2>
<ul>
  <li>{{domxref("FileReader")}}</li>
</ul>
Revert to this revision