@bunt/util
Advanced tools
Comparing version 0.19.2 to 0.19.12
import { ILogable } from "../Logger"; | ||
export declare class AssertionError extends Error implements ILogable<Record<any, any>> { | ||
import { ValidationError } from "./ValidationError"; | ||
export declare class AssertionError extends ValidationError implements ILogable<Record<any, any>> { | ||
readonly details?: any; | ||
@@ -4,0 +5,0 @@ constructor(message?: string, details?: unknown | (() => unknown)); |
@@ -5,3 +5,4 @@ "use strict"; | ||
const is_1 = require("../is"); | ||
class AssertionError extends Error { | ||
const ValidationError_1 = require("./ValidationError"); | ||
class AssertionError extends ValidationError_1.ValidationError { | ||
constructor(message, details) { | ||
@@ -8,0 +9,0 @@ super(message || "Assertion fails"); |
export * from "./interfaces"; | ||
export * from "./PermissionError"; | ||
export * from "./ValidationError"; | ||
export * from "./AssertionError"; | ||
export * from "./NotFound"; | ||
export * from "./functions"; |
@@ -14,4 +14,7 @@ "use strict"; | ||
__exportStar(require("./interfaces"), exports); | ||
__exportStar(require("./PermissionError"), exports); | ||
__exportStar(require("./ValidationError"), exports); | ||
__exportStar(require("./AssertionError"), exports); | ||
__exportStar(require("./NotFound"), exports); | ||
__exportStar(require("./functions"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@bunt/util", | ||
"version": "0.19.2", | ||
"version": "0.19.12", | ||
"keywords": [ | ||
@@ -29,3 +29,3 @@ "typescript" | ||
"license": "MIT", | ||
"gitHead": "6d173b2cfe84a19694499492467ddd19931f9b97" | ||
"gitHead": "af2ad3c8c543ddc526a1333910f5487d80c84d78" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
152
1836
119438