Represents an error that occurs while using the {{ domxref("FileReader") }} interface.
Properties
Error codes
ABORT_ERR | 3 | The file operation was aborted, probably due to a call to the FileReader abort() method. |
ENCODING_ERR | 5 | The file data cannot be accurately represented in a data URL. |
NOT_FOUND_ERR | 1 | File not found. |
NOT_READABLE_ERR | 4 | File could not be read. |
SECURITY_ERR | 2 | The file could not be accessed for security reasons. |
See also
- {{ domxref("FileReader") }}
- {{ domxref("File") }}
- {{ domxref("Blob") }}
- {{ spec("https://www.w3.org/TR/FileAPI/#FileErrorInterface", "Specification: FileAPI FileError", "WD") }}
{{ languages( {"zh-cn": "zh-cn/DOM/FileError" } ) }}