common-errors
Advanced tools
Comparing version
@@ -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 @@ |
42978
0.03%