extend-error icon indicating copy to clipboard operation
extend-error copied to clipboard

Consider using own method

Open thanpolas opened this issue 10 years ago • 0 comments

Would you consider using a custom method for extending vs augmenting the native Error Object with the extent() method?

i.e.


var extendError = require('extend-error');

var CustomError = extendError('CustomError');

thanpolas avatar Jan 04 '16 12:01 thanpolas