@particle-network/auth-core-modal
Version:
Auth Core provides MPC (Multi-Party Computation)-based threshold signatures.
18 lines (17 loc) • 602 B
TypeScript
export declare class AuthError {
code: number;
message: string;
constructor(code: number, message: string);
static feeError(): AuthError;
static userRejectedRequest(): AuthError;
static userCancelOperation(): AuthError;
static unauthorized(): AuthError;
static systemError(): AuthError;
static paramsError(): AuthError;
static notLogin(): AuthError;
static walletNotCreated(): AuthError;
static authorizeError(): AuthError;
static network(): AuthError;
static unknown(message: string): AuthError;
static pending(method: string): AuthError;
}