[#wallet-HandleWalletError] = xref:wallet.adoc[wallet]::HandleWalletError :relfileprefix: ../ :mrdocs: Translates a wallet loading result into the appropriate RPC error. == Synopsis Declared in `<wallet/rpc/util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void HandleWalletError( std::shared_ptr<CWallet> const& wallet, xref:wallet/DatabaseStatus.adoc[DatabaseStatus]& status, xref:bilingual_str.adoc[bilingual_str]& error); ---- == Parameters [cols="1,4"] |=== | Name| Description | *wallet* | The loaded wallet, or null on failure. | *status* | The database status returned while loading. | *error* | The error message describing the failure. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#