TritonDataCenter / node-verror

Rich JavaScript errors
MIT License
1.18k stars 61 forks source link

ensure WError toString gets the constructor name properly #4

Closed trentm closed 11 years ago

trentm commented 11 years ago

Also drop 'options.name' support to WError ctor, per discussion with MarkC.

Note: there will be a related PR to restify v2.0 in a sec.

trentm commented 11 years ago

This is required for restify v2.0's https://github.com/mcavage/node-restify/pull/227

davepacheco commented 11 years ago

@mcavage, are you cool with these changes?

mcavage commented 11 years ago

Yes, LGTM