if(optl__err_msg!=none&&(*optl__err_msg).size()>0){// if args_string actually contains a server error, call error fn with it - this must be done so that the heap alloc'd vals container can be freed
stringstreamerr_msg_ss;
err_msg_ss<<"An error occurred while getting your latest balance: "<<*(optl__err_msg);
if(optl__err_msg!=none&&(*optl__err_msg).size()>0){// if args_string actually contains a server error, call error fn with it - this must be done so that the heap alloc'd vals container can be freed
stringstreamerr_msg_ss;
err_msg_ss<<"An error occurred while getting decoy outputs: "<<*(optl__err_msg);
if(optl__err_msg!=none&&(*optl__err_msg).size()>0){// if args_string actually contains a server error, call error fn with it - this must be done so that the heap alloc'd vals container can be freed
stringstreamerr_msg_ss;
err_msg_ss<<"An error occurred while getting submitting your transaction: "<<*(optl__err_msg);