You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

common-errors

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-errors - npm Package Compare versions

Comparing version

to
0.4.5

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Common error classes and utility functions",
"version": "0.4.4",
"version": "0.4.5",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

@@ -545,3 +545,3 @@ common-errors

* `extends` - The base class for the new Error class. Default is `Error`.
* `args` - Array of names of values to accept and store from the class constructor. Default is `['message']`.
* `args` - Array of names of values to accept and store from the class constructor. Default is `['message', 'inner_error']`.
* `generateMessage` - A function for defining a custom error message.

@@ -548,0 +548,0 @@