From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/api/fileerror/index.html | 77 ++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 files/zh-cn/web/api/fileerror/index.html (limited to 'files/zh-cn/web/api/fileerror') diff --git a/files/zh-cn/web/api/fileerror/index.html b/files/zh-cn/web/api/fileerror/index.html new file mode 100644 index 0000000000..d476b4da4c --- /dev/null +++ b/files/zh-cn/web/api/fileerror/index.html @@ -0,0 +1,77 @@ +--- +title: FileError +slug: Web/API/FileError +translation_of: Web/API/FileError +--- +

{{APIRef("File System API")}}{{obsolete_header()}}

+ +

概述

+ +

用来表示在使用{{ domxref("FileReader") }}接口时发生的错误.

+ +

属性

+ + + + + + + + + + + + + + +
属性名类型描述
codeunsigned shortThe error code.
+ +

Error codes

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
常量描述
ABORT_ERR3文件的操作命令被取消,可能是由于调用了FileReaderabort()方法.
ENCODING_ERR5文件数据不能准确的被表示为一个data URI.
NOT_FOUND_ERR1找不到文件.
NOT_READABLE_ERR4文件无法被读取.
SECURITY_ERR2由于安全原因,文件不能被访问.
+ +

相关链接

+ + + +

{{ languages( {"en": "en/DOM/FileError" } ) }}

-- cgit v1.2.3-54-g00ecf