stargate: Export TimeoutError class

This commit is contained in:
willclarktech 2021-04-07 18:51:07 +02:00
parent 46a45f0e8f
commit b0788a6357
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7
2 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@ export {
isBroadcastTxSuccess,
SequenceResponse,
StargateClient,
TimeoutError,
} from "./stargateclient";
export {
CosmosFeeTable,

View File

@ -21,7 +21,7 @@ import {
SearchTxQuery,
} from "./search";
class TimeoutError extends Error {
export class TimeoutError extends Error {
public readonly txId: string;
public constructor(message: string, txId: string) {