|
|
@ -2397,6 +2397,11 @@ namespace tools
|
|
|
|
{
|
|
|
|
{
|
|
|
|
std::rethrow_exception(e);
|
|
|
|
std::rethrow_exception(e);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
catch (const tools::error::no_connection_to_daemon& e)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
er.code = WALLET_RPC_ERROR_CODE_NO_DAEMON_CONNECTION;
|
|
|
|
|
|
|
|
er.message = e.what();
|
|
|
|
|
|
|
|
}
|
|
|
|
catch (const tools::error::daemon_busy& e)
|
|
|
|
catch (const tools::error::daemon_busy& e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
er.code = WALLET_RPC_ERROR_CODE_DAEMON_IS_BUSY;
|
|
|
|
er.code = WALLET_RPC_ERROR_CODE_DAEMON_IS_BUSY;
|
|
|
|