Vana SDK - v2.2.2
    Preparing search index...

    Class SignatureError

    Thrown when a signature operation fails or cannot be completed.

    This error occurs when wallet signature operations fail due to disconnection, locked accounts, or other wallet-related issues. It preserves the original error for debugging while providing consistent error handling across the SDK.

    Recovery strategies:

    • Check wallet connection and account unlock status
    • Retry operation with explicit user interaction
    • For gasless operations, consider switching to direct transactions
    try {
    await vana.permissions.grant({ grantee: '0x...' });
    } catch (error) {
    if (error instanceof SignatureError) {
    // Prompt user to unlock wallet
    await promptWalletUnlock();
    // Retry operation
    }
    }

    Hierarchy (View Summary)