@sky-mavis/tanto-widget
Version:
Tanto Widget
12 lines (11 loc) • 557 B
TypeScript
export declare class TantoWidgetError extends Error {
readonly code: string;
readonly details?: Record<string, any> | undefined;
constructor(code: string, message: string, details?: Record<string, any> | undefined);
}
export declare const TantoWidgetErrorCodes: {
readonly CLIENT_ID_REQUIRED: "CLIENT_ID_REQUIRED";
readonly KEYLESS_WALLET_CONFIG_MISSING_CLIENT_ID: "KEYLESS_WALLET_CONFIG_MISSING_CLIENT_ID";
readonly CREATE_ACCOUNT_FAILED: "CREATE_ACCOUNT_FAILED";
readonly CONTEXT_NOT_INITIALIZED: "CONTEXT_NOT_INITIALIZED";
};