@golemio/errors
Advanced tools
Comparing version 0.0.3-dev.77086387 to 0.0.3-dev.77108461
@@ -16,4 +16,6 @@ import { CustomError, ICustomErrorObject } from "./"; | ||
* @param err Error (CustomError) object to catch and process | ||
* @param logLevel LogLevels log level method | ||
* @returns ICustomErrorObject | ||
*/ | ||
static handle(err: Error | CustomError, logLevel?: LogLevels): ICustomErrorObject; | ||
} |
@@ -18,2 +18,4 @@ "use strict"; | ||
* @param err Error (CustomError) object to catch and process | ||
* @param logLevel LogLevels log level method | ||
* @returns ICustomErrorObject | ||
*/ | ||
@@ -20,0 +22,0 @@ static handle(err, logLevel = "error") { |
@@ -15,7 +15,7 @@ import { CustomError, ErrorHandler, ICustomErrorObject } from "./"; | ||
* | ||
* Overrides ErrorHandler::handle() | ||
* | ||
* @param err Error (CustomError) object to catch and process | ||
* @param logLevel LogLevels log level method | ||
* @returns ICustomErrorObject | ||
*/ | ||
static handle(err: Error | CustomError, logLevel?: LogLevels): ICustomErrorObject; | ||
} |
@@ -16,5 +16,5 @@ "use strict"; | ||
* | ||
* Overrides ErrorHandler::handle() | ||
* | ||
* @param err Error (CustomError) object to catch and process | ||
* @param logLevel LogLevels log level method | ||
* @returns ICustomErrorObject | ||
*/ | ||
@@ -21,0 +21,0 @@ static handle(err, logLevel = "error") { |
{ | ||
"name": "@golemio/errors", | ||
"version": "0.0.3-dev.77086387", | ||
"version": "0.0.3-dev.77108461", | ||
"description": "Library of Error classes of the Data Platform System", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
26226
312