extend-error
extend-error copied to clipboard
Consider using own method
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');