Optional Message Param in Constructor
amir-zad-1 opened this issue · comments
Is it possible to make the message param in constructor optional?
var newErr = new NestedError("", err); => var newErr = new NestedError(err);
Your example code seems reasonable to me. I'm surprised that it would fail. Do you want to submit a PR with a fix that works for you?
Thank you for merging the PR. When are you going to release a new version on NPM?
I just published v2.1.0 to NPM with your changes. Thanks for contributing!