aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.h
diff options
context:
space:
mode:
authorMichał Sałaban <michal@salaban.info>2017-10-23 04:27:02 +0200
committerMichał Sałaban <michal@salaban.info>2017-10-23 04:27:02 +0200
commitfab3b7221b75adb5a27870f4608a8348f8f38402 (patch)
tree76bc3aa51a280b1710583022ed68e83c1691711e /src/wallet/wallet_rpc_server.h
parentMerge pull request #2601 (diff)
downloadmonero-fab3b7221b75adb5a27870f4608a8348f8f38402.tar.xz
Add more specific RPC error codes
Diffstat (limited to 'src/wallet/wallet_rpc_server.h')
-rw-r--r--src/wallet/wallet_rpc_server.h1
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;