FileReader: error property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("File API")}}{{AvailableInWorkers}}
The **error** read-only property of the {{domxref("FileReader")}} interface returns the error that occurred while reading the file.
Value
A {{domxref("DOMException")}} containing the relevant error.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
- {{domxref("FileReader")}}