@adobe/aio-lib-core-errors
Advanced tools
Comparing version 3.1.0 to 3.1.1
{ | ||
"name": "@adobe/aio-lib-core-errors", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Adobe I/O SDK Core Errors", | ||
@@ -20,13 +20,16 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"@adobe/eslint-config-aio-lib-config": "^2", | ||
"@adobe/eslint-config-aio-lib-config": "^2.0.0", | ||
"codecov": "^3.5.0", | ||
"eslint": "^8", | ||
"eslint-config-standard": "^17", | ||
"eslint-plugin-import": "^2.25.3", | ||
"eslint-plugin-jest": "^23", | ||
"eslint": "^8.22.0", | ||
"eslint-config-standard": "^17.0.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jest": "^23.20.0", | ||
"eslint-plugin-jsdoc": "^37.9.7", | ||
"eslint-plugin-n": "^15.2.5", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^6", | ||
"eslint-plugin-promise": "^6.0.0", | ||
"jest": "^28.1.3", | ||
"jsdoc-to-markdown": "^7.1.1", | ||
"tsd-jsdoc": "^2.4.0" | ||
"tsd-jsdoc": "^2.4.0", | ||
"typescript": "^4.7.4" | ||
}, | ||
@@ -33,0 +36,0 @@ "files": [ |
@@ -49,3 +49,3 @@ /* | ||
* | ||
* @return {Object} | ||
* @returns {object} this error object as json | ||
*/ | ||
@@ -52,0 +52,0 @@ toJSON () { |
@@ -44,5 +44,5 @@ /* | ||
* | ||
* @callback createUpdater | ||
* @param {Object<string, Error>} codes an object that will map an error code to an Error class. | ||
* @param {Map<string, string>} messages a Map, that will map the error code to an error message | ||
* @param {object<string, Error>} codes an object that will map an error code to an Error class. | ||
* @param {Map.<string, string>} messages a Map, that will map the error code to an error message | ||
* @returns {Function} an updater function | ||
*/ | ||
@@ -68,2 +68,3 @@ function createUpdater (codes, messages) { | ||
* @param {Error} baseClass the base class that your Error class is extending. AioCoreSDKError is the default | ||
* @returns {Function} a wrapper function | ||
*/ | ||
@@ -70,0 +71,0 @@ function ErrorWrapper (errorClassName, sdkName, updater, baseClass = AioCoreSDKError) { |
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
29912
148
14