• 继承自: {EventEmitter}

    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.