类:Error


\Class: Error

通用的 JavaScript <Error> 对象,不表示发生错误的任何具体情况。Error 对象捕获 "堆栈跟踪",详细说明代码中实例化 Error 的点,并可能提供错误的文本描述。

\A generic JavaScript <Error> object that does not denote any specific circumstance of why the error occurred. Error objects capture a "stack trace" detailing the point in the code at which the Error was instantiated, and may provide a text description of the error.

Node.js 生成的所有错误,包括所有系统和 JavaScript 错误,都将是 Error 类的实例或继承自 Error 类。

\All errors generated by Node.js, including all system and JavaScript errors, will either be instances of, or inherit from, the Error class.

AltStyle によって変換されたページ (->オリジナル) /