Error 对象的添加
¥Additions to Error
objects
每当 Error
对象通过域路由时,都会向其中添加一些额外的字段。
¥Any time an Error
object is routed through a domain, a few extra fields
are added to it.
-
error.domain
最先处理错误的域。¥
error.domain
The domain that first handled the error. -
error.domainEmitter
触发带有错误对象的'error'
事件的事件触发器。¥
error.domainEmitter
The event emitter that emitted an'error'
event with the error object. -
error.domainBound
绑定到域的回调函数,并将错误作为其第一个参数传递。¥
error.domainBound
The callback function which was bound to the domain, and passed an error as its first argument. -
error.domainThrown
一个布尔值,指示错误是被抛出、触发还是传递给绑定的回调函数。¥
error.domainThrown
A boolean indicating whether the error was thrown, emitted, or passed to a bound callback function.