此頁面由社群從英文翻譯而來。了解更多並加入 MDN Web Docs 社群。
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月.
備註: 此功能可在 Web Worker 中使用。
FileReader 介面的 error 唯讀屬性會回傳在讀取檔案時所發生的錯誤。
值
一個包含相關錯誤的 DOMException。
規範
| Specification |
|---|
| File API> # dom-filereader-error> |
瀏覽器相容性
Enable JavaScript to view this browser compatibility table.