aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/domexception/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/domexception/index.html')
-rw-r--r--files/zh-cn/web/api/domexception/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/domexception/index.html b/files/zh-cn/web/api/domexception/index.html
index 7616ea3c45..a5181039a5 100644
--- a/files/zh-cn/web/api/domexception/index.html
+++ b/files/zh-cn/web/api/domexception/index.html
@@ -24,7 +24,7 @@ translation_of: Web/API/DOMException
<dl>
<dt>{{domxref("DOMException.code")}} {{deprecated_inline}} {{readOnlyInline}}</dt>
- <dd>返回一个 <code>short</code>,包含 {{anch("Error codes", "error code constants")}} 中的一个,或者返回 <code>0</code>,如果没有匹配的话。这个字段由于历史原因被使用。现在不再使用这个新的DOM异常:他们把这个信息放入 {{domxref("DOMException.name")}} 属性。</dd>
+ <dd>返回一个 <code>short</code>,包含错误代码常量中的一个,或者返回 <code>0</code>,如果没有匹配的话。这个字段由于历史原因被使用。现在不再使用这个新的DOM异常:他们把这个信息放入 {{domxref("DOMException.name")}} 属性。</dd>
<dt>{{domxref("DOMException.message")}} {{readOnlyInline}}</dt>
<dd>返回一个 {{ domxref("DOMString") }} 代表与给定的<a href="/en-US/docs/Web/API/DOMException#Error_names">错误名称</a>有关信息或描述。</dd>
<dt>{{domxref("DOMException.name")}} {{readOnlyInline}}</dt>