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

View in English Always switch to English

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 ⁨2015年7月⁩.

總覽

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

語法

var error = instanceOfFileReader.error

Value

A DOMError

規格

Specification
File API
# dom-filereader-error

瀏覽器相容性

閱讀更多