Hi Stephen, I have thought about it, however I have never got the time. However, I have attached the source: "error-scope.7z". What do you think, and all others?
I have consciously made the module not backward compatible, however it would be easy fix, even if I don“t belive it would be a good idea, for simplicity. Thanks in advance! On Friday, August 10, 2012 12:18:38 AM UTC+2, Stephen Sugden wrote: > > Idleman, > > I like the ideas you've outlined here, if you have a working > implementation, why not at least open source it on Github or similar? I > would be interested in trying it out and seeing if it helps with my use > cases. > > -Stephen > > On Sunday, July 22, 2012 11:34:26 AM UTC-7, idleman wrote: >> >> 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
error-scope.7z
Description: application/7z-compressed
