diff options
author | Michał Sałaban <michal@salaban.info> | 2017-10-23 04:27:02 +0200 |
---|---|---|
committer | Michał Sałaban <michal@salaban.info> | 2017-10-23 04:27:02 +0200 |
commit | fab3b7221b75adb5a27870f4608a8348f8f38402 (patch) | |
tree | 76bc3aa51a280b1710583022ed68e83c1691711e /src/wallet/wallet_rpc_server.h | |
parent | Merge pull request #2601 (diff) | |
download | monero-fab3b7221b75adb5a27870f4608a8348f8f38402.tar.xz |
Add more specific RPC error codes
Diffstat (limited to '')
-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; |