@dxos/errors 0.8.4-main.84f28bd → 0.8.4-main.a4bbb77
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.
- package/dist/lib/browser/index.mjs +110 -27
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +110 -27
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/base.d.ts +47 -18
- package/dist/types/src/base.d.ts.map +1 -1
- package/dist/types/src/errors.d.ts +324 -66
- package/dist/types/src/errors.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
- package/src/base.ts +38 -13
- package/src/errors.test.ts +23 -4
- package/src/errors.ts +6 -6
|
@@ -1,123 +1,381 @@
|
|
|
1
1
|
import { BaseError } from './base';
|
|
2
|
-
declare const
|
|
3
|
-
new (
|
|
4
|
-
"__#
|
|
5
|
-
"__#
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
declare const ApiError_base: {
|
|
3
|
+
new (options?: import("./base").BaseErrorOptions): {
|
|
4
|
+
"__#private@#code": "API";
|
|
5
|
+
"__#private@#context": Record<string, unknown>;
|
|
6
|
+
get name(): "API";
|
|
7
|
+
get message(): string;
|
|
8
|
+
get code(): "API";
|
|
9
|
+
get _tag(): "API";
|
|
10
|
+
get context(): Record<string, unknown>;
|
|
10
11
|
stack?: string;
|
|
11
12
|
cause?: unknown;
|
|
12
13
|
};
|
|
13
|
-
code:
|
|
14
|
+
code: "API";
|
|
14
15
|
is(error: unknown): error is BaseError;
|
|
15
|
-
|
|
16
|
+
wrap(options?: Omit<import("./base").BaseErrorOptions, "cause">): (error: unknown) => {
|
|
17
|
+
"__#private@#code": "API";
|
|
18
|
+
"__#private@#context": Record<string, unknown>;
|
|
19
|
+
get name(): "API";
|
|
20
|
+
get message(): string;
|
|
21
|
+
get code(): "API";
|
|
22
|
+
get _tag(): "API";
|
|
23
|
+
get context(): Record<string, unknown>;
|
|
24
|
+
stack?: string;
|
|
25
|
+
cause?: unknown;
|
|
26
|
+
};
|
|
27
|
+
extend<Code extends string = string>(code: Code, message?: string): {
|
|
28
|
+
new (options?: import("./base").BaseErrorOptions): {
|
|
29
|
+
"__#private@#code": Code;
|
|
30
|
+
"__#private@#context": Record<string, unknown>;
|
|
31
|
+
get name(): Code;
|
|
32
|
+
get message(): string;
|
|
33
|
+
get code(): Code;
|
|
34
|
+
get _tag(): Code;
|
|
35
|
+
get context(): Record<string, unknown>;
|
|
36
|
+
stack?: string;
|
|
37
|
+
cause?: unknown;
|
|
38
|
+
};
|
|
39
|
+
code: Code;
|
|
40
|
+
is(error: unknown): error is BaseError;
|
|
41
|
+
wrap(options?: Omit<import("./base").BaseErrorOptions, "cause">): (error: unknown) => {
|
|
42
|
+
"__#private@#code": Code;
|
|
43
|
+
"__#private@#context": Record<string, unknown>;
|
|
44
|
+
get name(): Code;
|
|
45
|
+
get message(): string;
|
|
46
|
+
get code(): Code;
|
|
47
|
+
get _tag(): Code;
|
|
48
|
+
get context(): Record<string, unknown>;
|
|
49
|
+
stack?: string;
|
|
50
|
+
cause?: unknown;
|
|
51
|
+
};
|
|
52
|
+
extend<Code extends string = string>(code: Code, message?: string): /*elided*/ any;
|
|
53
|
+
isError(error: unknown): error is Error;
|
|
54
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
55
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
56
|
+
stackTraceLimit: number;
|
|
57
|
+
};
|
|
58
|
+
isError(error: unknown): error is Error;
|
|
16
59
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
17
60
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
18
61
|
stackTraceLimit: number;
|
|
19
62
|
};
|
|
20
|
-
export declare class
|
|
63
|
+
export declare class ApiError extends ApiError_base {
|
|
21
64
|
}
|
|
22
|
-
declare const
|
|
23
|
-
new (
|
|
24
|
-
"__#
|
|
25
|
-
"__#
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
65
|
+
declare const SystemError_base: {
|
|
66
|
+
new (options?: import("./base").BaseErrorOptions): {
|
|
67
|
+
"__#private@#code": "SYSTEM";
|
|
68
|
+
"__#private@#context": Record<string, unknown>;
|
|
69
|
+
get name(): "SYSTEM";
|
|
70
|
+
get message(): string;
|
|
71
|
+
get code(): "SYSTEM";
|
|
72
|
+
get _tag(): "SYSTEM";
|
|
73
|
+
get context(): Record<string, unknown>;
|
|
30
74
|
stack?: string;
|
|
31
75
|
cause?: unknown;
|
|
32
76
|
};
|
|
33
|
-
code:
|
|
77
|
+
code: "SYSTEM";
|
|
34
78
|
is(error: unknown): error is BaseError;
|
|
35
|
-
|
|
79
|
+
wrap(options?: Omit<import("./base").BaseErrorOptions, "cause">): (error: unknown) => {
|
|
80
|
+
"__#private@#code": "SYSTEM";
|
|
81
|
+
"__#private@#context": Record<string, unknown>;
|
|
82
|
+
get name(): "SYSTEM";
|
|
83
|
+
get message(): string;
|
|
84
|
+
get code(): "SYSTEM";
|
|
85
|
+
get _tag(): "SYSTEM";
|
|
86
|
+
get context(): Record<string, unknown>;
|
|
87
|
+
stack?: string;
|
|
88
|
+
cause?: unknown;
|
|
89
|
+
};
|
|
90
|
+
extend<Code extends string = string>(code: Code, message?: string): {
|
|
91
|
+
new (options?: import("./base").BaseErrorOptions): {
|
|
92
|
+
"__#private@#code": Code;
|
|
93
|
+
"__#private@#context": Record<string, unknown>;
|
|
94
|
+
get name(): Code;
|
|
95
|
+
get message(): string;
|
|
96
|
+
get code(): Code;
|
|
97
|
+
get _tag(): Code;
|
|
98
|
+
get context(): Record<string, unknown>;
|
|
99
|
+
stack?: string;
|
|
100
|
+
cause?: unknown;
|
|
101
|
+
};
|
|
102
|
+
code: Code;
|
|
103
|
+
is(error: unknown): error is BaseError;
|
|
104
|
+
wrap(options?: Omit<import("./base").BaseErrorOptions, "cause">): (error: unknown) => {
|
|
105
|
+
"__#private@#code": Code;
|
|
106
|
+
"__#private@#context": Record<string, unknown>;
|
|
107
|
+
get name(): Code;
|
|
108
|
+
get message(): string;
|
|
109
|
+
get code(): Code;
|
|
110
|
+
get _tag(): Code;
|
|
111
|
+
get context(): Record<string, unknown>;
|
|
112
|
+
stack?: string;
|
|
113
|
+
cause?: unknown;
|
|
114
|
+
};
|
|
115
|
+
extend<Code extends string = string>(code: Code, message?: string): /*elided*/ any;
|
|
116
|
+
isError(error: unknown): error is Error;
|
|
117
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
118
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
119
|
+
stackTraceLimit: number;
|
|
120
|
+
};
|
|
121
|
+
isError(error: unknown): error is Error;
|
|
36
122
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
37
123
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
38
124
|
stackTraceLimit: number;
|
|
39
125
|
};
|
|
40
|
-
export declare class
|
|
126
|
+
export declare class SystemError extends SystemError_base {
|
|
41
127
|
}
|
|
42
|
-
declare const
|
|
43
|
-
new (
|
|
44
|
-
"__#
|
|
45
|
-
"__#
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
128
|
+
declare const InternalError_base: {
|
|
129
|
+
new (options?: import("./base").BaseErrorOptions): {
|
|
130
|
+
"__#private@#code": "INTERNAL";
|
|
131
|
+
"__#private@#context": Record<string, unknown>;
|
|
132
|
+
get name(): "INTERNAL";
|
|
133
|
+
get message(): string;
|
|
134
|
+
get code(): "INTERNAL";
|
|
135
|
+
get _tag(): "INTERNAL";
|
|
136
|
+
get context(): Record<string, unknown>;
|
|
50
137
|
stack?: string;
|
|
51
138
|
cause?: unknown;
|
|
52
139
|
};
|
|
53
|
-
code:
|
|
140
|
+
code: "INTERNAL";
|
|
54
141
|
is(error: unknown): error is BaseError;
|
|
55
|
-
|
|
142
|
+
wrap(options?: Omit<import("./base").BaseErrorOptions, "cause">): (error: unknown) => {
|
|
143
|
+
"__#private@#code": "INTERNAL";
|
|
144
|
+
"__#private@#context": Record<string, unknown>;
|
|
145
|
+
get name(): "INTERNAL";
|
|
146
|
+
get message(): string;
|
|
147
|
+
get code(): "INTERNAL";
|
|
148
|
+
get _tag(): "INTERNAL";
|
|
149
|
+
get context(): Record<string, unknown>;
|
|
150
|
+
stack?: string;
|
|
151
|
+
cause?: unknown;
|
|
152
|
+
};
|
|
153
|
+
extend<Code extends string = string>(code: Code, message?: string): {
|
|
154
|
+
new (options?: import("./base").BaseErrorOptions): {
|
|
155
|
+
"__#private@#code": Code;
|
|
156
|
+
"__#private@#context": Record<string, unknown>;
|
|
157
|
+
get name(): Code;
|
|
158
|
+
get message(): string;
|
|
159
|
+
get code(): Code;
|
|
160
|
+
get _tag(): Code;
|
|
161
|
+
get context(): Record<string, unknown>;
|
|
162
|
+
stack?: string;
|
|
163
|
+
cause?: unknown;
|
|
164
|
+
};
|
|
165
|
+
code: Code;
|
|
166
|
+
is(error: unknown): error is BaseError;
|
|
167
|
+
wrap(options?: Omit<import("./base").BaseErrorOptions, "cause">): (error: unknown) => {
|
|
168
|
+
"__#private@#code": Code;
|
|
169
|
+
"__#private@#context": Record<string, unknown>;
|
|
170
|
+
get name(): Code;
|
|
171
|
+
get message(): string;
|
|
172
|
+
get code(): Code;
|
|
173
|
+
get _tag(): Code;
|
|
174
|
+
get context(): Record<string, unknown>;
|
|
175
|
+
stack?: string;
|
|
176
|
+
cause?: unknown;
|
|
177
|
+
};
|
|
178
|
+
extend<Code extends string = string>(code: Code, message?: string): /*elided*/ any;
|
|
179
|
+
isError(error: unknown): error is Error;
|
|
180
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
181
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
182
|
+
stackTraceLimit: number;
|
|
183
|
+
};
|
|
184
|
+
isError(error: unknown): error is Error;
|
|
56
185
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
57
186
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
58
187
|
stackTraceLimit: number;
|
|
59
188
|
};
|
|
60
|
-
export declare class
|
|
189
|
+
export declare class InternalError extends InternalError_base {
|
|
61
190
|
}
|
|
62
|
-
declare const
|
|
63
|
-
new (
|
|
64
|
-
"__#
|
|
65
|
-
"__#
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
191
|
+
declare const TimeoutError_base: {
|
|
192
|
+
new (options?: import("./base").BaseErrorOptions): {
|
|
193
|
+
"__#private@#code": "TIMEOUT";
|
|
194
|
+
"__#private@#context": Record<string, unknown>;
|
|
195
|
+
get name(): "TIMEOUT";
|
|
196
|
+
get message(): string;
|
|
197
|
+
get code(): "TIMEOUT";
|
|
198
|
+
get _tag(): "TIMEOUT";
|
|
199
|
+
get context(): Record<string, unknown>;
|
|
70
200
|
stack?: string;
|
|
71
201
|
cause?: unknown;
|
|
72
202
|
};
|
|
73
|
-
code:
|
|
203
|
+
code: "TIMEOUT";
|
|
74
204
|
is(error: unknown): error is BaseError;
|
|
75
|
-
|
|
205
|
+
wrap(options?: Omit<import("./base").BaseErrorOptions, "cause">): (error: unknown) => {
|
|
206
|
+
"__#private@#code": "TIMEOUT";
|
|
207
|
+
"__#private@#context": Record<string, unknown>;
|
|
208
|
+
get name(): "TIMEOUT";
|
|
209
|
+
get message(): string;
|
|
210
|
+
get code(): "TIMEOUT";
|
|
211
|
+
get _tag(): "TIMEOUT";
|
|
212
|
+
get context(): Record<string, unknown>;
|
|
213
|
+
stack?: string;
|
|
214
|
+
cause?: unknown;
|
|
215
|
+
};
|
|
216
|
+
extend<Code extends string = string>(code: Code, message?: string): {
|
|
217
|
+
new (options?: import("./base").BaseErrorOptions): {
|
|
218
|
+
"__#private@#code": Code;
|
|
219
|
+
"__#private@#context": Record<string, unknown>;
|
|
220
|
+
get name(): Code;
|
|
221
|
+
get message(): string;
|
|
222
|
+
get code(): Code;
|
|
223
|
+
get _tag(): Code;
|
|
224
|
+
get context(): Record<string, unknown>;
|
|
225
|
+
stack?: string;
|
|
226
|
+
cause?: unknown;
|
|
227
|
+
};
|
|
228
|
+
code: Code;
|
|
229
|
+
is(error: unknown): error is BaseError;
|
|
230
|
+
wrap(options?: Omit<import("./base").BaseErrorOptions, "cause">): (error: unknown) => {
|
|
231
|
+
"__#private@#code": Code;
|
|
232
|
+
"__#private@#context": Record<string, unknown>;
|
|
233
|
+
get name(): Code;
|
|
234
|
+
get message(): string;
|
|
235
|
+
get code(): Code;
|
|
236
|
+
get _tag(): Code;
|
|
237
|
+
get context(): Record<string, unknown>;
|
|
238
|
+
stack?: string;
|
|
239
|
+
cause?: unknown;
|
|
240
|
+
};
|
|
241
|
+
extend<Code extends string = string>(code: Code, message?: string): /*elided*/ any;
|
|
242
|
+
isError(error: unknown): error is Error;
|
|
243
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
244
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
245
|
+
stackTraceLimit: number;
|
|
246
|
+
};
|
|
247
|
+
isError(error: unknown): error is Error;
|
|
76
248
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
77
249
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
78
250
|
stackTraceLimit: number;
|
|
79
251
|
};
|
|
80
|
-
export declare class
|
|
252
|
+
export declare class TimeoutError extends TimeoutError_base {
|
|
81
253
|
}
|
|
82
|
-
declare const
|
|
83
|
-
new (
|
|
84
|
-
"__#
|
|
85
|
-
"__#
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
254
|
+
declare const AbortedError_base: {
|
|
255
|
+
new (options?: import("./base").BaseErrorOptions): {
|
|
256
|
+
"__#private@#code": "ABORTED";
|
|
257
|
+
"__#private@#context": Record<string, unknown>;
|
|
258
|
+
get name(): "ABORTED";
|
|
259
|
+
get message(): string;
|
|
260
|
+
get code(): "ABORTED";
|
|
261
|
+
get _tag(): "ABORTED";
|
|
262
|
+
get context(): Record<string, unknown>;
|
|
90
263
|
stack?: string;
|
|
91
264
|
cause?: unknown;
|
|
92
265
|
};
|
|
93
|
-
code:
|
|
266
|
+
code: "ABORTED";
|
|
94
267
|
is(error: unknown): error is BaseError;
|
|
95
|
-
|
|
268
|
+
wrap(options?: Omit<import("./base").BaseErrorOptions, "cause">): (error: unknown) => {
|
|
269
|
+
"__#private@#code": "ABORTED";
|
|
270
|
+
"__#private@#context": Record<string, unknown>;
|
|
271
|
+
get name(): "ABORTED";
|
|
272
|
+
get message(): string;
|
|
273
|
+
get code(): "ABORTED";
|
|
274
|
+
get _tag(): "ABORTED";
|
|
275
|
+
get context(): Record<string, unknown>;
|
|
276
|
+
stack?: string;
|
|
277
|
+
cause?: unknown;
|
|
278
|
+
};
|
|
279
|
+
extend<Code extends string = string>(code: Code, message?: string): {
|
|
280
|
+
new (options?: import("./base").BaseErrorOptions): {
|
|
281
|
+
"__#private@#code": Code;
|
|
282
|
+
"__#private@#context": Record<string, unknown>;
|
|
283
|
+
get name(): Code;
|
|
284
|
+
get message(): string;
|
|
285
|
+
get code(): Code;
|
|
286
|
+
get _tag(): Code;
|
|
287
|
+
get context(): Record<string, unknown>;
|
|
288
|
+
stack?: string;
|
|
289
|
+
cause?: unknown;
|
|
290
|
+
};
|
|
291
|
+
code: Code;
|
|
292
|
+
is(error: unknown): error is BaseError;
|
|
293
|
+
wrap(options?: Omit<import("./base").BaseErrorOptions, "cause">): (error: unknown) => {
|
|
294
|
+
"__#private@#code": Code;
|
|
295
|
+
"__#private@#context": Record<string, unknown>;
|
|
296
|
+
get name(): Code;
|
|
297
|
+
get message(): string;
|
|
298
|
+
get code(): Code;
|
|
299
|
+
get _tag(): Code;
|
|
300
|
+
get context(): Record<string, unknown>;
|
|
301
|
+
stack?: string;
|
|
302
|
+
cause?: unknown;
|
|
303
|
+
};
|
|
304
|
+
extend<Code extends string = string>(code: Code, message?: string): /*elided*/ any;
|
|
305
|
+
isError(error: unknown): error is Error;
|
|
306
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
307
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
308
|
+
stackTraceLimit: number;
|
|
309
|
+
};
|
|
310
|
+
isError(error: unknown): error is Error;
|
|
96
311
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
97
312
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
98
313
|
stackTraceLimit: number;
|
|
99
314
|
};
|
|
100
|
-
export declare class
|
|
315
|
+
export declare class AbortedError extends AbortedError_base {
|
|
101
316
|
}
|
|
102
|
-
declare const
|
|
103
|
-
new (
|
|
104
|
-
"__#
|
|
105
|
-
"__#
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
317
|
+
declare const NotImplementedError_base: {
|
|
318
|
+
new (options?: import("./base").BaseErrorOptions): {
|
|
319
|
+
"__#private@#code": "NOT_IMPLEMENTED";
|
|
320
|
+
"__#private@#context": Record<string, unknown>;
|
|
321
|
+
get name(): "NOT_IMPLEMENTED";
|
|
322
|
+
get message(): string;
|
|
323
|
+
get code(): "NOT_IMPLEMENTED";
|
|
324
|
+
get _tag(): "NOT_IMPLEMENTED";
|
|
325
|
+
get context(): Record<string, unknown>;
|
|
110
326
|
stack?: string;
|
|
111
327
|
cause?: unknown;
|
|
112
328
|
};
|
|
113
|
-
code:
|
|
329
|
+
code: "NOT_IMPLEMENTED";
|
|
114
330
|
is(error: unknown): error is BaseError;
|
|
115
|
-
|
|
331
|
+
wrap(options?: Omit<import("./base").BaseErrorOptions, "cause">): (error: unknown) => {
|
|
332
|
+
"__#private@#code": "NOT_IMPLEMENTED";
|
|
333
|
+
"__#private@#context": Record<string, unknown>;
|
|
334
|
+
get name(): "NOT_IMPLEMENTED";
|
|
335
|
+
get message(): string;
|
|
336
|
+
get code(): "NOT_IMPLEMENTED";
|
|
337
|
+
get _tag(): "NOT_IMPLEMENTED";
|
|
338
|
+
get context(): Record<string, unknown>;
|
|
339
|
+
stack?: string;
|
|
340
|
+
cause?: unknown;
|
|
341
|
+
};
|
|
342
|
+
extend<Code extends string = string>(code: Code, message?: string): {
|
|
343
|
+
new (options?: import("./base").BaseErrorOptions): {
|
|
344
|
+
"__#private@#code": Code;
|
|
345
|
+
"__#private@#context": Record<string, unknown>;
|
|
346
|
+
get name(): Code;
|
|
347
|
+
get message(): string;
|
|
348
|
+
get code(): Code;
|
|
349
|
+
get _tag(): Code;
|
|
350
|
+
get context(): Record<string, unknown>;
|
|
351
|
+
stack?: string;
|
|
352
|
+
cause?: unknown;
|
|
353
|
+
};
|
|
354
|
+
code: Code;
|
|
355
|
+
is(error: unknown): error is BaseError;
|
|
356
|
+
wrap(options?: Omit<import("./base").BaseErrorOptions, "cause">): (error: unknown) => {
|
|
357
|
+
"__#private@#code": Code;
|
|
358
|
+
"__#private@#context": Record<string, unknown>;
|
|
359
|
+
get name(): Code;
|
|
360
|
+
get message(): string;
|
|
361
|
+
get code(): Code;
|
|
362
|
+
get _tag(): Code;
|
|
363
|
+
get context(): Record<string, unknown>;
|
|
364
|
+
stack?: string;
|
|
365
|
+
cause?: unknown;
|
|
366
|
+
};
|
|
367
|
+
extend<Code extends string = string>(code: Code, message?: string): /*elided*/ any;
|
|
368
|
+
isError(error: unknown): error is Error;
|
|
369
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
370
|
+
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
371
|
+
stackTraceLimit: number;
|
|
372
|
+
};
|
|
373
|
+
isError(error: unknown): error is Error;
|
|
116
374
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
117
375
|
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
118
376
|
stackTraceLimit: number;
|
|
119
377
|
};
|
|
120
|
-
export declare class
|
|
378
|
+
export declare class NotImplementedError extends NotImplementedError_base {
|
|
121
379
|
}
|
|
122
380
|
export {};
|
|
123
381
|
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/errors.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/errors.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;;;;;;;;;;;;;;;uEAakZ,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;2EAAd,cAAc;;;;;;;;;;;;;;;;;;;;;;AAXnc,qBAAa,QAAS,SAAQ,aAAoC;CAAG;;;;;;;;;;;;;;;uEAWgX,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;2EAAd,cAAc;;;;;;;;;;;;;;;;;;;;;;AATnc,qBAAa,WAAY,SAAQ,gBAA0C;CAAG;;;;;;;;;;;;;;;uEASuW,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;2EAAd,cAAc;;;;;;;;;;;;;;;;;;;;;;AAPnc,qBAAa,aAAc,SAAQ,kBAA8C;CAAG;;;;;;;;;;;;;;;uEAOiW,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;2EAAd,cAAc;;;;;;;;;;;;;;;;;;;;;;AALnc,qBAAa,YAAa,SAAQ,iBAAsC;CAAG;;;;;;;;;;;;;;;uEAK0W,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;2EAAd,cAAc;;;;;;;;;;;;;;;;;;;;;;AAHnc,qBAAa,YAAa,SAAQ,iBAAsC;CAAG;;;;;;;;;;;;;;;uEAG0W,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;2EAAd,cAAc;;;;;;;;;;;;;;;;;;;;;;AADnc,qBAAa,mBAAoB,SAAQ,wBAAsD;CAAG"}
|