Isaac, I am not writing this for a new module/library, but as a improvement for the core module domain, which is introduced in version 8.0.1. Here comes a new minimal example whose would also be the last I writing. It shows what I believe would be beneficial to have in the core.
Example: "http://pastebin.com/UxLNB93J". CustomError is derived from Error. The greatest advantage this example has, is that it fully supports polymorphism, just as inbuilt exception handling in most languages. And as I have said before, it is not much job to extend domain to allow this kind of code, specially when I already have a working implementation and want to share it with you, freely. I excuse the late answer by the way. On Wednesday, July 18, 2012 8:28:01 PM UTC+2, Isaac Schlueter wrote: > > idleman, > > You're sending your code to the wrong place. Instead of using email, > you should be writing a module, and using `npm publish`. > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
