extensible-custom-error (npm): JavaScript extensible custom error that can take a message and/or an Error object
Keywords: error|ecmascript|error-handling|javascript|node