summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-12-26 12:31:27 -0800
committerisaacs <i@izs.me>2012-12-29 10:37:31 -0800
commitec8ebaf30090a9265cbad0535e8e0c9a02a49c9f (patch)
tree61953af9630bfbf700e186cb5447f4e21120dac6 /doc
parent4401bb47bfa4fe72c2755c428577903ece5cfaa0 (diff)
downloadnode-new-ec8ebaf30090a9265cbad0535e8e0c9a02a49c9f.tar.gz
domain: use camelCase instead of snake_case
While it's true that error objects have a history of getting snake_case properties attached by the host system, it's a point of confusion to Node users that comes up a lot. It's still 'experimental', so best to change this sooner rather than later.
Diffstat (limited to 'doc')
-rw-r--r--doc/api/domain.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/domain.markdown b/doc/api/domain.markdown
index 24acd295b7..4161e2579e 100644
--- a/doc/api/domain.markdown
+++ b/doc/api/domain.markdown
@@ -27,11 +27,11 @@ 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.domain_emitter` The event emitter that emitted an 'error' event
+* `error.domainEmitter` The event emitter that emitted an 'error' event
with the error object.
-* `error.domain_bound` The callback function which was bound to the
+* `error.domainBound` The callback function which was bound to the
domain, and passed an error as its first argument.
-* `error.domain_thrown` A boolean indicating whether the error was
+* `error.domainThrown` A boolean indicating whether the error was
thrown, emitted, or passed to a bound callback function.
## Implicit Binding