• Skip to main content
  • Skip to search
  • Skip to select language
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web technology for developers
  2. Web APIs
  3. FileReader
  4. FileReader.error
  • Change language

Table of contents

  • Value
  • Specifications
  • Browser compatibility
  • See also

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

  • FileReader

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Mar 29, 2022, by MDN contributors

Change your language

Related Topics

  1. FileReader
  2. Constructor
    1. FileReader()
  3. Properties
    1. error
    2. readyState
    3. result
  4. Methods
    1. abort()
    2. readAsArrayBuffer()
    3. readAsBinaryString()
    4. readAsDataURL()
    5. readAsText()
  5. Events
    1. abort
    2. error
    3. load
    4. loadend
    5. loadstart
    6. progress
  6. Inheritance:
    1. EventTarget
  7. Related pages for File API
    1. Blob
    2. File
    3. FileList
    4. FileReaderSync
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

  • MDN on Twitter
  • MDN on Github

Mozilla

  • Mozilla on Twitter
  • Mozilla on Instagram

© 2005-2022 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies