Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update internalerror #10581

Merged
merged 4 commits into from
Dec 10, 2022
Merged

docs: update internalerror #10581

merged 4 commits into from
Dec 10, 2022

Conversation

jasonren0403
Copy link
Contributor

Description

remove the {{page}} macro

Motivation

Additional details

Related issues and pull requests

part of #3893

@jasonren0403 jasonren0403 requested a review from a team as a code owner December 10, 2022 14:19
@jasonren0403 jasonren0403 requested review from t7yang and removed request for a team December 10, 2022 14:19
@github-actions github-actions bot added the l10n-zh Issues related to Chinese content. label Dec 10, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Dec 10, 2022

Preview URLs

Flaws (2)

URL: /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/InternalError
Title: InternalError
Flaw count: 2

  • macros:
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/InternalError/InternalError does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError/InternalError
    • /zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Error/cause does not exist but fell back to /en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause

(comment last updated: 2022-12-10 14:30:34)

Comment on lines 22 to 35
- {{jsxref("Error.prototype.message", "InternalError.prototype.message")}}
- : 错误信息。从 {{jsxref("Error")}} 继承。
- {{jsxref("Error.prototype.name", "InternalError.prototype.name")}}
- : 错误名称。从 {{jsxref("Error")}} 继承。
- {{jsxref("Error.prototype.cause", "InternalError.prototype.cause")}}
- : 错误原因。从 {{jsxref("Error")}} 继承。
- {{jsxref("Error.prototype.fileName", "InternalError.prototype.fileName")}} {{Non-standard_Inline}}
- : 引起错误的文件路径。从 {{jsxref("Error")}} 继承。
- {{jsxref("Error.prototype.lineNumber", "InternalError.prototype.lineNumber")}} {{Non-standard_Inline}}
- : 引起错误位置的行编号。从 {{jsxref("Error")}} 继承。
- {{jsxref("Error.prototype.columnNumber", "InternalError.prototype.columnNumber")}} {{Non-standard_Inline}}
- : 引起错误位置的列编号。从 {{jsxref("Error")}} 继承。
- {{jsxref("Error.prototype.stack", "InternalError.prototype.stack")}} {{Non-standard_Inline}}
- : 堆栈跟踪信息。从 {{jsxref("Error")}} 继承。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可参考这个(直接复制替换即可):

- {{jsxref("Error.prototype.message")}}
- : 错误消息。继承自 {{jsxref("Error")}}。
- {{jsxref("Error.prototype.name")}}
- : 错误名称。继承自 {{jsxref("Error")}}。
- {{jsxref("Error.prototype.cause")}}
- : 表示导致当前错误被抛出的原因。继承自 {{jsxref("Error")}}。
- {{jsxref("Error.prototype.fileName")}} {{non-standard_inline}}
- : 引发此错误的文件的路径。继承自 {{jsxref("Error")}}。
- {{jsxref("Error.prototype.lineNumber")}} {{non-standard_inline}}
- : 引发此错误的代码所在的文件的行号。继承自 {{jsxref("Error")}}。
- {{jsxref("Error.prototype.columnNumber")}} {{non-standard_inline}}
- : 引发此错误的代码在文件中所在行的列号。继承自 {{jsxref("Error")}}。
- {{jsxref("Error.prototype.stack")}} {{non-standard_inline}}
- : 堆栈跟踪。继承自 {{jsxref("Error")}}。

@yin1999 yin1999 merged commit d646a18 into mdn:main Dec 10, 2022
@jasonren0403 jasonren0403 deleted the patch-1 branch December 10, 2022 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
l10n-zh Issues related to Chinese content.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants