FileReader.error

The FileReader error property returns the error that occurred while reading the file.

Value

A DOMError containing the relevant error. In Chrome 48+/Firefox 58+ this property returns a DOMException because DOMError has been removed from the DOM standard.

Specifications

Specification
File API
# dom-filereader-error

Browser compatibility

BCD tables only load in the browser

See also