• Skip to main content
  • Skip to search
  • Skip to select language

Learn front-end development with high quality, interactive courses from Scrimba. Enroll now!

MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Accessibility

      Build web projects usable for all

    • Web Technology

      Web technology reference for developers

  • Learn
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • Plus
    • Overview

      A customized MDN experience

    • AI Help

      Get real-time assistance and support

    • Updates

      All browser compatibility updates at a glance

    • Documentation

      Learn how to use MDN Plus

    • FAQ

      Frequently asked questions about MDN Plus

  • Curriculum New
  • Blog
    • Playground

      Write, test and share your code

    • HTTP Observatory

      Scan a website for free

    • AI Help

      Get real-time assistance and support

  1. 給開發者的 Web 技術文件
  2. Web APIs
  3. FileReader
  4. FileReader.error
    • Is this useful?
    • English (US)
    • Deutsch
    • 日本語
    • Русский
    • 中文 (简体)

此頁面由社群從英文翻譯而來。了解更多並加入 MDN Web Docs 社群。

在本文中

  • 總覽
  • 語法
  • Value
  • 規格
  • 瀏覽器相容性
  • 閱讀更多
  1. File API
  2. FileReader
  3. 建構子
    1. FileReader()
  4. 實體屬性
    1. error
    2. readyState
    3. result
  5. 實體方法
    1. abort()
    2. readAsArrayBuffer()
    3. readAsBinaryString() 已棄用
    4. readAsDataURL()
    5. readAsText()
  6. 事件
    1. abort
    2. error
    3. load
    4. loadend
    5. loadstart
    6. progress
  7. 繼承
    1. EventTarget
  8. File API 的相關頁面
    1. Blob
    2. File
    3. FileList
    4. FileReaderSync
    5. URL.createObjectURL
    6. URL.revokeObjectURL
  9. 指南
    1. 在網頁應用程式中使用本地檔案

在本文中

  • 總覽
  • 語法
  • Value
  • 規格
  • 瀏覽器相容性
  • 閱讀更多

FileReader.error

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

  • Learn more
  • See full compatibility
  • Report feedback

總覽

回傳讀取檔案時發生的錯誤。

語法

var error = instanceOfFileReader.error

Value

A DOMError

規格

Specification
File API
# dom-filereader-error

瀏覽器相容性

閱讀更多

  • FileReader

Help improve MDN

Learn how to contribute.

This page was last modified on 2022年9月24日 by MDN contributors.

View this page on GitHub • Report a problem with this content
MDN logo

Your blueprint for a better internet.

  • MDN on Bluesky
  • MDN on Mastodon
  • MDN on X (formerly Twitter)
  • MDN on GitHub
  • MDN Blog RSS Feed

MDN

  • About
  • Blog
  • Careers
  • Advertise with us

Support

  • Product help
  • Report an issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
  • Hacks Blog
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2025 by individual mozilla.org contributors. Content available under a Creative Commons license.