@dotcom-reliability-kit/errors
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -19,6 +19,2 @@ /** | ||
* @typedef {object} HttpErrorData | ||
* @property {string} [code] | ||
* A machine-readable error code which identifies the specific type of error. | ||
* @property {string} [message] | ||
* A human readable message which describes the error. | ||
* @property {number} [statusCode] | ||
@@ -65,3 +61,3 @@ * An HTTP status code. | ||
* | ||
* @param {(string | number | HttpErrorData & Record<string, any>)} [data = {}] | ||
* @param {(string | number | HttpErrorData & OperationalError.OperationalErrorData & Record<string, any>)} [data = {}] | ||
* The error message if it's a string, the HTTP status code if it's a number, or full error | ||
@@ -68,0 +64,0 @@ * information if an object. |
{ | ||
"name": "@dotcom-reliability-kit/errors", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A suite of error classes which help you throw the most appropriate error in any situation", | ||
@@ -14,3 +14,3 @@ "repository": { | ||
"engines": { | ||
"node": "14.x || 16.x", | ||
"node": "14.x || 16.x || 18.x", | ||
"npm": "7.x || 8.x" | ||
@@ -17,0 +17,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13444
272