Domain 类


Domain 类封装了路由错误和未捕获异常到活动 Domain 对象的功能。

要处理其捕获的错误,则监听其 'error' 事件。

The Domain class encapsulates the functionality of routing errors and uncaught exceptions to the active Domain object.

To handle the errors that it catches, listen to its 'error' event.