Back to Content

FileReader: error property

files/en-us/web/api/filereader/error/index.md

latest370 B
Original Source

{{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")}}