@rightcapital/exceptions 1.2.31-feature-assert-package-assert-function-value-parameter-type-must-be-boolean.2370.1.0 → 1.2.31-renovate-auto-merge-dev-dependencies-updates.2374.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
* @see https://javascript.info/custom-errors
|
|
8
8
|
*/
|
|
9
9
|
export declare class BaseException extends Error {
|
|
10
|
-
cause?: unknown;
|
|
10
|
+
cause?: unknown | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* @param message A human-readable description of the error.
|
|
13
13
|
* @param cause The value of cause can be of any type. You should not make assumptions that the error you caught has an Error as its cause, in the same way that you cannot be sure the variable bound in the catch statement is an Error either. The "Providing structured data as the error cause" example below shows a case where a non-error is deliberately provided as the cause.
|
|
14
14
|
*/
|
|
15
|
-
constructor(message: string, cause?: unknown);
|
|
15
|
+
constructor(message: string, cause?: unknown | undefined);
|
|
16
16
|
/**
|
|
17
17
|
* If the Error is caused by the cause we passed in the construction method
|
|
18
18
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.exception.d.ts","sourceRoot":"","sources":["../../src/exceptions/base.exception.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,qBAAa,aAAc,SAAQ,KAAK;IAO7B,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"base.exception.d.ts","sourceRoot":"","sources":["../../src/exceptions/base.exception.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,qBAAa,aAAc,SAAQ,KAAK;IAO7B,KAAK,CAAC,EAAE,OAAO;IANxB;;;OAGG;gBAED,OAAO,EAAE,MAAM,EACR,KAAK,CAAC,EAAE,OAAO,YAAA;IAKxB;;;;;OAKG;IACI,UAAU,CAAC,KAAK,EAAE,OAAO;CAGjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rightcapital/exceptions",
|
|
3
|
-
"version": "1.2.31-
|
|
3
|
+
"version": "1.2.31-renovate-auto-merge-dev-dependencies-updates.2374.1.0",
|
|
4
4
|
"description": "TypeScript Exception definitions inspired by PHP SPL Exceptions etc...",
|
|
5
5
|
"author": "RightCapital Ecosystem team <npm-publisher@rightcapital.com>",
|
|
6
6
|
"keywords": [
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"lib"
|
|
24
24
|
],
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"prettier": "3.
|
|
27
|
-
"typedoc": "0.
|
|
26
|
+
"prettier": "3.9.6",
|
|
27
|
+
"typedoc": "0.28.20",
|
|
28
28
|
"typedoc-plugin-markdown": "3.17.1"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|