domain: move error handling directly into instance
authorTrevor Norris <trev.norris@gmail.com>
Wed, 21 Aug 2013 23:12:17 +0000 (16:12 -0700)
committerTrevor Norris <trev.norris@gmail.com>
Fri, 23 Aug 2013 17:14:10 +0000 (10:14 -0700)
commit467e00ed0203b11646d027ed1f94a4129de6a9d4
tree9f2995aaba7aa9b3c6263f978b26a2c742cc4e63
parent7555227a12be2b431b0446d573b9ac0653435ed6
domain: move error handling directly into instance

Instead of doing all the domain handling in core, allow the domain to
set an error handler that'll take care of it all. This way the domain
error handling can be abstracted enough for any user to use it.
lib/domain.js
src/node.js