Documentation

    Class WalletStandardError<TErrorCode>

    Type Parameters

    Hierarchy

    • Error
      • WalletStandardError
    Index

    Constructors

    • Type Parameters

      Parameters

      • ...__namedParameters: WalletStandardErrorContext[TErrorCode] extends undefined
            ? [code: TErrorCode, errorOptions?: ErrorOptions]
            : [
                code: TErrorCode,
                contextAndErrorOptions: WalletStandardErrorContext[TErrorCode] & (
                    undefined
                    | ErrorOptions
                ),
            ]

      Returns WalletStandardError<TErrorCode>

    Properties

    cause?: unknown
    context: Readonly<
        {
            "3834000": object & { __code: 3834000 };
            "3834001": { address: string; walletName: string } & { __code: 3834001 };
            "4001000": object & { __code: 4001000 };
            "6160000": {
                address: string;
                chain: string;
                featureName: string;
                supportedChains: string[];
                supportedFeatures: string[];
            } & { __code: 6160000 };
            "6160001": {
                address: string;
                featureName: string;
                supportedChains: string[];
                supportedFeatures: string[];
            } & { __code: 6160001 };
            "6160002": {
                featureName: string;
                supportedChains: string[];
                supportedFeatures: string[];
                walletName: string;
            } & { __code: 6160002 };
        },
    >[TErrorCode]
    message: string
    name: string
    stack?: string
    MMNEPVFCICPMFPCPTTAAATR