-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherrors.d.ts
43 lines (43 loc) · 1.46 KB
/
errors.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/// <reference types="node" />
import { CreateTxOptions } from '@terra-money/feather.js';
/** User denied the request */
export declare class UserDenied extends Error {
constructor();
toString: () => string;
}
/** the user did not complete the action during a specific time */
export declare class Timeout extends Error {
constructor(message: string);
toString: () => string;
}
/** failed on signBytes() */
export declare class SignBytesFailed extends Error {
readonly bytes: Buffer;
constructor(bytes: Buffer, message: string);
toString: () => string;
}
/** Failed to create tx (did not make a txhash) */
export declare class CreateTxFailed extends Error {
readonly tx: CreateTxOptions;
constructor(tx: CreateTxOptions, message: string);
toString: () => string;
}
/** Failed process the tx (maked a txhash) */
export declare class TxFailed extends Error {
readonly tx: CreateTxOptions;
readonly txhash: string | undefined;
readonly raw_message: any;
constructor(tx: CreateTxOptions, txhash: string | undefined, message: string, raw_message: any);
toString: () => string;
}
/** Unknown error */
export declare class TxUnspecifiedError extends Error {
readonly tx: CreateTxOptions;
constructor(tx: CreateTxOptions, message: string);
toString: () => string;
}
export declare class SignBytesUnspecifiedError extends Error {
readonly bytes: Buffer;
constructor(bytes: Buffer, message: string);
toString: () => string;
}