FC_DECLARE_DERIVED_EXCEPTION(block_tx_output_exception,eosio::chain::block_validate_exception,3020001,"transaction outputs in block do not match transaction outputs from applying block")
FC_DECLARE_DERIVED_EXCEPTION(block_concurrency_exception,eosio::chain::block_validate_exception,3020002,"block does not guarantee concurrent exection without conflicts")
FC_DECLARE_DERIVED_EXCEPTION(tx_msgs_auth_exceeded,eosio::chain::transaction_exception,3030018,"Number of transaction messages per authorized account has been exceeded")
FC_DECLARE_DERIVED_EXCEPTION(tx_msgs_code_exceeded,eosio::chain::transaction_exception,3030019,"Number of transaction messages per code account has been exceeded")
FC_DECLARE_DERIVED_EXCEPTION(missing_chain_api_plugin_exception,eosio::chain::missing_plugin_exception,3130001,"Missing Chain API Plugin")
FC_DECLARE_DERIVED_EXCEPTION(missing_wallet_api_plugin_exception,eosio::chain::missing_plugin_exception,3130002,"Missing Wallet API Plugin")
FC_DECLARE_DERIVED_EXCEPTION(missing_account_history_api_plugin_exception,eosio::chain::missing_plugin_exception,3130003,"Missing Account History API Plugin")
FC_DECLARE_DERIVED_EXCEPTION(missing_net_api_plugin_exception,eosio::chain::missing_plugin_exception,3130003,"Missing Net API Plugin")
FC_DECLARE_DERIVED_EXCEPTION(missing_net_api_plugin_exception,eosio::chain::missing_plugin_exception,3130004,"Missing Net API Plugin")
@@ -97,11 +97,29 @@ auto smatch_to_variant(const std::smatch& smatch) {
returnresult;
};
constchar*error_advice_3120001=R"=====(Name should be less than 13 characters and only contains the following symbol .12345abcdefghijklmnopqrstuvwxyz)=====";
constchar*error_advice_3010001="Most likely, the given account/ permission doesn't exist in the blockchain.";
constchar*error_advice_3010002="Most likely, the given account doesn't exist in the blockchain.";
constchar*error_advice_3010003="Most likely, the given table doesnt' exist in the blockchain.";
constchar*error_advice_3010004="Most likely, the given contract doesnt' exist in the blockchain.";
constchar*error_advice_3030000="Ensure that your transaction satisfy the contract's constraint!";
constchar*error_advice_3030001=R"=====(Ensure that you have the related authority inside your transaction!;
If you are currently using 'cleos push action' command, try to add the relevant authority using -p option.)=====";
constchar*error_advice_3030002="Ensure that you have the related private keys inside your wallet and you wallet is unlocked.";
constchar*error_advice_3030003="Please remove the unnecessary authority from your action!";
constchar*error_advice_3030004="Please remove the unnecessary signature from your transaction!";
constchar*error_advice_3030011="You can try embedding eosio nonce action inside your transaction to ensure uniqueness.";
constchar*error_advice_3030022="Please increase the expiration time of your transaction!";
constchar*error_advice_3030023="Please decrease the expiration time of your transaction!";
constchar*error_advice_3030024="Ensure that the reference block exist in the blockchain!";
constchar*error_advice_3040002=R"=====(Ensure that your arguments follow the contract abi!
You can check the contract's abi by using 'cleos get code' command.)=====";
constchar*error_advice_3120001=R"=====(Name should be less than 13 characters and only contains the following symbol .12345abcdefghijklmnopqrstuvwxyz)=====";
constchar*error_advice_3120002=R"=====(Public key should be encoded in base58 and starts with EOS prefix)=====";
constchar*error_advice_3120003=R"=====(Ensure that your authority JSON follows the following format!
constchar*error_advice_3120003=R"=====(Private key should be encoded in base58 WIF)=====";
constchar*error_advice_3120004=R"=====(Ensure that your authority JSON follows the following format!
autogetTransactions=get->add_subcommand("transactions",localized("Retrieve all transactions with specific account name referenced in their scope"),false);
getTransactions->add_option("account_name",account_name,localized("name of account to query on"))->required();
getTransactions->add_option("skip_seq",skip_seq,localized("Number of most recent transactions to skip (0 would start at most recent transaction)"));
getTransactions->add_option("num_seq",num_seq,localized("Number of transactions to return"));
getTransactions->add_option("skip_seq",skip_seq_str,localized("Number of most recent transactions to skip (0 would start at most recent transaction)"));
getTransactions->add_option("num_seq",num_seq_str,localized("Number of transactions to return"));