1 |
|
2 |
|
3 |
|
4 | export type Failure = {
|
5 | value: any;
|
6 | key: any;
|
7 | type: string;
|
8 | refinement: string | undefined;
|
9 | message: string;
|
10 | explanation?: string;
|
11 | branch: Array<any>;
|
12 | path: Array<any>;
|
13 | };
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | export declare class StructError extends TypeError {
|
23 | value: any;
|
24 | key: any;
|
25 | type: string;
|
26 | refinement: string | undefined;
|
27 | path: Array<any>;
|
28 | branch: Array<any>;
|
29 | failures: () => Array<Failure>;
|
30 | [x: string]: any;
|
31 | constructor(failure: Failure, failures: () => Generator<Failure>);
|
32 | }
|
33 | //# sourceMappingURL=error.d.ts.map |
\ | No newline at end of file |