UNPKG

2.95 kBTypeScriptView Raw
1/// <reference types="node" />
2export declare const GenesisBlockNotRegisteredError: {
3 new (): {
4 readonly name: string;
5 readonly code: string;
6 message: string;
7 stack?: string | undefined;
8 };
9 captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
10 prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
11 stackTraceLimit: number;
12};
13export declare const ScriptVerifyError: {
14 new (message: string): {
15 readonly name: string;
16 readonly code: string;
17 message: string;
18 stack?: string | undefined;
19 };
20 captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
21 prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
22 stackTraceLimit: number;
23};
24export declare const WitnessVerifyError: {
25 new (): {
26 readonly name: string;
27 readonly code: string;
28 message: string;
29 stack?: string | undefined;
30 };
31 captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
32 prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
33 stackTraceLimit: number;
34};
35export declare const UnknownVerifyError: {
36 new (message: string): {
37 readonly name: string;
38 readonly code: string;
39 message: string;
40 stack?: string | undefined;
41 };
42 captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
43 prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
44 stackTraceLimit: number;
45};
46export declare const InvalidClaimError: {
47 new (asset: string, governingHash: string): {
48 readonly name: string;
49 readonly code: string;
50 message: string;
51 stack?: string | undefined;
52 };
53 captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
54 prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
55 stackTraceLimit: number;
56};
57export declare const CoinClaimedError: {
58 new (asset: string, value: string): {
59 readonly name: string;
60 readonly code: string;
61 message: string;
62 stack?: string | undefined;
63 };
64 captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
65 prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
66 stackTraceLimit: number;
67};
68export declare const CoinUnspentError: {
69 new (unspentCoins: number): {
70 readonly name: string;
71 readonly code: string;
72 message: string;
73 stack?: string | undefined;
74 };
75 captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
76 prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
77 stackTraceLimit: number;
78};
79
\No newline at end of file