aboutsummaryrefslogtreecommitdiff
path: root/doc/api/domain.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/domain.md')
-rw-r--r--doc/api/domain.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/domain.md b/doc/api/domain.md
index 803fc2b830..4aae68cf40 100644
--- a/doc/api/domain.md
+++ b/doc/api/domain.md
@@ -273,11 +273,12 @@ serverDomain.run(() => {
## Class: Domain
+* Extends: {EventEmitter}
+
The `Domain` class encapsulates the functionality of routing errors and
uncaught exceptions to the active `Domain` object.
-`Domain` is a child class of [`EventEmitter`][]. To handle the errors that it
-catches, listen to its `'error'` event.
+To handle the errors that it catches, listen to its `'error'` event.
### domain.members
@@ -475,7 +476,6 @@ Promises. In other words, no `'error'` event will be emitted for unhandled
`Promise` rejections.
[`Error`]: errors.html#errors_class_error
-[`EventEmitter`]: events.html#events_class_eventemitter
[`domain.add(emitter)`]: #domain_domain_add_emitter
[`domain.bind(callback)`]: #domain_domain_bind_callback
[`domain.exit()`]: #domain_domain_exit