Note: This feature is available in Web Workers.
The error read-only property of the FileReader interface returns the error that occurred while reading the file.
error
FileReader
A DOMException containing the relevant error.
DOMException