阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js domain 错误对象的补充

      Node.js domain 错误对象的补充

      Any time an Error object is routed through a domain, a few extra fields are added to it.

      • error.domain The domain that first handled the error.
      • error.domainEmitter The event emitter that emitted an ‘error’ event with the error object.
      • error.domainBound The callback function which was bound to the domain, and passed an error as its first argument.
      • error.domainThrown A boolean indicating whether the error was thrown, emitted, or passed to a bound callback function.

      更多内容请参考:Node.js domain,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录