diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-10-31 20:35:41 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-10-31 20:35:41 +0200 |
commit | 5ef9c69ef5d7d3322b17bc6dbfc3209e164ac570 (patch) | |
tree | 8e34dba86d5a9ed09654814e76ee3caf9eaaa81d /src/wallet/wallet_rpc_server.h | |
parent | Merge pull request #2737 (diff) | |
parent | Add more specific RPC error codes (diff) | |
download | monero-5ef9c69ef5d7d3322b17bc6dbfc3209e164ac570.tar.xz |
Merge pull request #2711
fab3b722 Add more specific RPC error codes (Michał Sałaban)
Diffstat (limited to 'src/wallet/wallet_rpc_server.h')
-rw-r--r-- | src/wallet/wallet_rpc_server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet_rpc_server.h b/src/wallet/wallet_rpc_server.h index 7f4c412e4..f2d98df6f 100644 --- a/src/wallet/wallet_rpc_server.h +++ b/src/wallet/wallet_rpc_server.h @@ -162,6 +162,7 @@ namespace tools void fill_transfer_entry(tools::wallet_rpc::transfer_entry &entry, const crypto::hash &payment_id, const tools::wallet2::payment_details &pd); bool not_open(epee::json_rpc::error& er); uint64_t adjust_mixin(uint64_t mixin); + void handle_rpc_exception(const std::exception_ptr& e, epee::json_rpc::error& er, int default_error_code); wallet2 *m_wallet; std::string m_wallet_dir; |