@thruputchain/client
    Preparing search index...

    Function parseWalletProviderError

    • Reconstruct a serialized provider error, without relying on instanceof. Requires a recognized WalletProviderErrorCode and a message of at most 1,024 characters. Invalid errors throw a new error with code -32602.

      Parameters

      • value: unknown

      Returns WalletProviderError