{
    "version": "4.5.0",
    "electrum_map": {
        "Procedure not found": -32601,
        "wallet not loaded": -32000,
        "should be a transaction hash": -32001,
        "No such mempool or blockchain transaction. Use gettransaction for wallet transactions.": -32002,
        "No such mempool transaction.": -32002,
        "missing transaction": -32002,
        "No such blockchain transaction": -32002,
        "Request not found": -32003,
        "Invalid Bitcoin address or alias": -32004,
        "Invalid bitcoin address:": -32004,
        "Insufficient funds": -32006,
        "Invalid node ID, must be 33 bytes and hexadecimal": -32007,
        "Remove the existing wallet first!": -32008,
        "Bad bech32 checksum": -32009,
        "Does not start with ln": -32009,
        "Wrong Lightning invoice HRP": -32009,
        "Too short to contain signature": -32009,
        "No path found": -32010,
        "Lightning not supported in this wallet type": -32011,
        "Invoice not found": -32012,
        "This version of Electrum is too old to open this wallet": -32013,
        "No ConfigVar with key": -32014
    },
    "exceptions": {
        "-32601": {
            "exc_name": "ProcedureNotFoundError",
            "docstring": "Procedure not found"
        },
        "-32000": {
            "exc_name": "WalletNotLoadedError",
            "docstring": "Wallet not loaded. No xpub was provided and this function requires wallet"
        },
        "-32001": {
            "exc_name": "InvalidTxHashError",
            "docstring": "Invalid tx hash provided"
        },
        "-32002": {
            "exc_name": "TxNotFoundError",
            "docstring": "No such mempool or blockchain transaction"
        },
        "-32003": {
            "exc_name": "RequestNotFoundError",
            "docstring": "Payment request not found"
        },
        "-32004": {
            "exc_name": "InvalidAddressError",
            "docstring": "Invalid address or alias"
        },
        "-32005": {
            "exc_name": "LoadingWalletError",
            "docstring": "Error loading wallet: seed or key not recognized"
        },
        "-32006": {
            "exc_name": "NotEnoughFundsError",
            "docstring": "Insufficient funds"
        },
        "-32007": {
            "exc_name": "InvalidNodeIDError",
            "docstring": "Invalid node ID"
        },
        "-32008": {
            "exc_name": "WalletExistsError",
            "docstring": "This wallet already exists"
        },
        "-32009": {
            "exc_name": "InvalidLightningInvoiceError",
            "docstring": "Invalid lightning invoice"
        },
        "-32010": {
            "exc_name": "NoPathFoundError",
            "docstring": "No path found to pay the invoice"
        },
        "-32011": {
            "exc_name": "LightningUnsupportedError",
            "docstring": "Lightning not supported in this wallet type"
        },
        "-32012": {
            "exc_name": "InvoiceNotFoundError",
            "docstring": "Invoice not found"
        },
        "-32013": {
            "exc_name": "WalletVersionMismatchError",
            "docstring": "Wallet file was opened in a newer electrum version than Bitcart is using. Delete the wallet file to fix this issue"
        },
        "-32014": {
            "exc_name": "NoConfigKeyError",
            "docstring": "No config key found"
        }
    }
}
