@golemio/errors
Advanced tools
Comparing version 1.0.1-dev.217957546 to 1.0.1-dev.333311734
@@ -69,3 +69,8 @@ "use strict"; | ||
try { | ||
info = JSON.stringify(this.cause); | ||
if (cause instanceof CustomError) { | ||
info = cause.toString(); | ||
} | ||
else { | ||
info = JSON.stringify(this.cause); | ||
} | ||
} | ||
@@ -72,0 +77,0 @@ catch (_a) { |
{ | ||
"name": "@golemio/errors", | ||
"version": "1.0.1-dev.217957546", | ||
"version": "1.0.1-dev.333311734", | ||
"description": "Library of Error classes of the Golemio Data Platform System", | ||
@@ -15,3 +15,3 @@ "main": "dist/index.js", | ||
"tslint": "tslint -p .", | ||
"generate-docs": "npx typedoc --readme \"./README.MD\" --name \"Golemio Errors\" --mode file --out docs/typedoc src" | ||
"generate-docs": "typedoc --out docs/typedoc src" | ||
}, | ||
@@ -40,3 +40,3 @@ "keywords": [], | ||
"tslint": "5.11.0", | ||
"typedoc": "^0.19.2", | ||
"typedoc": "^0.20.28", | ||
"typescript": "^4.0.5" | ||
@@ -43,0 +43,0 @@ }, |
Sorry, the diff of this file is not supported yet
38452
514