tangxinfa
Member since Nov 4, 2015
- Profile: /members/12898-tangxinfa.htm
- URL: http://blog.kankanan.com
- Comments: 1
Recent Blog Comments By tangxinfa
-
Creating Custom Error Objects In Node.js With Error.captureStackTrace()
Posted on Nov 4, 2015 at 12:55 AM
Nice post, this is a ready to work solution. As a enhancement, you can use verror( https://www.joyent.com/developers/node/modules/verror ) as the base class, this keeps orignal error accessable.... read more »