Why can't we use a try block inside a eosio smart contract? This is the error I get when I try to catch the exeption from eosio::require_auth2() function...
error:
cannot use 'try' with exceptions
disabled
try
This is the code snippet under discussion:
try
{
require_auth2(st.issuer, N(issue));
}
catch (...)
{
eosio::print("EXCEPTION CAUGHT");
}