diff --git a/package-lock.json b/package-lock.json index a2750c6..55e76fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@hckrnews/error", - "version": "0.3.7", + "version": "0.3.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@hckrnews/error", - "version": "0.3.7", + "version": "0.3.8", "license": "MIT", "dependencies": { "@hckrnews/validator": "^5.0.1" diff --git a/package.json b/package.json index fd2b0c3..e501766 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@hckrnews/error", "description": "Extended Errors", - "version": "0.3.7", + "version": "0.3.8", "author": { "name": "Pieter Wigboldus", "url": "https://hckr.news/" diff --git a/src/app-error.js b/src/app-error.js index b3bf951..f211302 100644 --- a/src/app-error.js +++ b/src/app-error.js @@ -10,7 +10,7 @@ const validator = new Validator(errorSchema); * @property {string} message * @property {any} value * @property {number} status - * @property {object} type + * @property {Function|AsyncFunction} type * @property {Date} date * @property {object} me */