@thi.ng/errors
Advanced tools
Comparing version 2.5.7 to 2.5.8
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export declare const AssertionError: { | ||
@@ -7,6 +6,6 @@ new (msg?: any): { | ||
message: string; | ||
stack?: string | undefined; | ||
stack?: string; | ||
cause?: unknown; | ||
}; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function): void; | ||
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; | ||
@@ -13,0 +12,0 @@ stackTraceLimit: number; |
# Change Log | ||
- **Last updated**: 2024-05-08T18:24:31Z | ||
- **Last updated**: 2024-06-21T19:34:38Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -5,0 +5,0 @@ |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export interface CustomError extends Error { | ||
@@ -24,6 +23,6 @@ /** | ||
message: string; | ||
stack?: string | undefined; | ||
stack?: string; | ||
cause?: unknown; | ||
}; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function): void; | ||
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; | ||
@@ -30,0 +29,0 @@ stackTraceLimit: number; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export declare const IllegalArgumentError: { | ||
@@ -7,6 +6,6 @@ new (msg?: any): { | ||
message: string; | ||
stack?: string | undefined; | ||
stack?: string; | ||
cause?: unknown; | ||
}; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function): void; | ||
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; | ||
@@ -13,0 +12,0 @@ stackTraceLimit: number; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export declare const IllegalArityError: { | ||
@@ -7,6 +6,6 @@ new (msg?: number | undefined): { | ||
message: string; | ||
stack?: string | undefined; | ||
stack?: string; | ||
cause?: unknown; | ||
}; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function): void; | ||
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; | ||
@@ -13,0 +12,0 @@ stackTraceLimit: number; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export declare const IllegalStateError: { | ||
@@ -7,6 +6,6 @@ new (msg?: any): { | ||
message: string; | ||
stack?: string | undefined; | ||
stack?: string; | ||
cause?: unknown; | ||
}; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function): void; | ||
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; | ||
@@ -13,0 +12,0 @@ stackTraceLimit: number; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export declare const IOError: { | ||
@@ -7,6 +6,6 @@ new (msg?: any): { | ||
message: string; | ||
stack?: string | undefined; | ||
stack?: string; | ||
cause?: unknown; | ||
}; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function): void; | ||
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; | ||
@@ -21,6 +20,6 @@ stackTraceLimit: number; | ||
message: string; | ||
stack?: string | undefined; | ||
stack?: string; | ||
cause?: unknown; | ||
}; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function): void; | ||
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; | ||
@@ -27,0 +26,0 @@ stackTraceLimit: number; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export declare const OutOfBoundsError: { | ||
@@ -7,6 +6,6 @@ new (msg?: any): { | ||
message: string; | ||
stack?: string | undefined; | ||
stack?: string; | ||
cause?: unknown; | ||
}; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function): void; | ||
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; | ||
@@ -13,0 +12,0 @@ stackTraceLimit: number; |
{ | ||
"name": "@thi.ng/errors", | ||
"version": "2.5.7", | ||
"version": "2.5.8", | ||
"description": "Custom error types and error factory functions", | ||
@@ -13,3 +13,3 @@ "type": "module", | ||
}, | ||
"homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/errors#readme", | ||
"homepage": "https://thi.ng/errors", | ||
"funding": [ | ||
@@ -40,7 +40,7 @@ { | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.43.2", | ||
"@types/node": "^20.12.11", | ||
"esbuild": "^0.21.1", | ||
"@microsoft/api-extractor": "^7.47.0", | ||
"@types/node": "^20.14.6", | ||
"esbuild": "^0.21.5", | ||
"typedoc": "^0.25.13", | ||
"typescript": "^5.4.5" | ||
"typescript": "^5.5.2" | ||
}, | ||
@@ -102,3 +102,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "df34b4a9e650cc7323575356de207d78933bdcf3\n" | ||
"gitHead": "154c95cf9d6bab32174498ec3b5b5d87e42be7f9\n" | ||
} |
@@ -10,3 +10,3 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
> [!NOTE] | ||
> This is one of 192 standalone projects, maintained as part | ||
> This is one of 193 standalone projects, maintained as part | ||
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo | ||
@@ -13,0 +13,0 @@ > and anti-framework. |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
export declare const UnsupportedOperationError: { | ||
@@ -7,6 +6,6 @@ new (msg?: any): { | ||
message: string; | ||
stack?: string | undefined; | ||
stack?: string; | ||
cause?: unknown; | ||
}; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void; | ||
captureStackTrace(targetObject: object, constructorOpt?: Function): void; | ||
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; | ||
@@ -13,0 +12,0 @@ stackTraceLimit: number; |
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
SPDX disjunction
LicenseSPDX disjunction for an artifact's license information
Found 1 instance in 1 package
38757
425