BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Namespaces | Macros | Functions | Variables
exceptions.cpp File Reference
#include <graphene/chain/exceptions.hpp>
#include <graphene/chain/internal_exceptions.hpp>

Go to the source code of this file.

Namespaces

 graphene
 
 graphene::chain
 

Macros

#define GRAPHENE_RECODE_EXC(cause_type, effect_type)
 

Functions

 graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION (database_query_exception, chain_exception, 3010000, "database query exception") FC_IMPLEMENT_DERIVED_EXCEPTION(block_validate_exception
 
block validation exception graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION (transaction_process_exception, chain_exception, 3030000, "transaction processing exception") FC_IMPLEMENT_DERIVED_EXCEPTION(operation_validate_exception
 
block validation exception operation validation exception graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION (operation_evaluate_exception, chain_exception, 3050000, "operation evaluation exception") FC_IMPLEMENT_DERIVED_EXCEPTION(utility_exception
 
block validation exception operation validation exception utility method exception graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION (undo_database_exception, chain_exception, 3070000, "undo database exception") FC_IMPLEMENT_DERIVED_EXCEPTION(duplicate_transaction
 
block validation exception operation validation exception utility method exception duplicate transaction graphene::chain::FC_IMPLEMENT_DERIVED_EXCEPTION (pop_empty_chain, undo_database_exception, 3070001, "there are no blocks to pop") GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS(transfer)
 
 graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (limit_order_create)
 
 graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (kill_unfilled, limit_order_create, 1, "Killing limit order due to unable to fill") GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION(market_not_whitelisted
 
The market has not been whitelisted by the selling asset graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (market_blacklisted, limit_order_create, 3, "The market has been blacklisted by the selling asset") GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION(selling_asset_unauthorized
 
The market has not been whitelisted by the selling asset The account is not allowed to transact the selling asset graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (receiving_asset_unauthorized, limit_order_create, 5, "The account is not allowed to transact the receiving asset") GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION(insufficient_balance
 
The market has not been whitelisted by the selling asset The account is not allowed to transact the selling asset Insufficient balance graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (limit_order_update)
 
 graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (limit_order_cancel)
 
 graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (call_order_update)
 
 graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (unfilled_margin_call, call_order_update, 1, "Updating call order would trigger a margin call that cannot be fully filled") GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS(account_create)
 
 graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (buyback_incorrect_issuer, account_create, 3, "Incorrect issuer specified for account") GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION(buyback_already_exists
 
Cannot create buyback for asset which already has buyback graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (account_update)
 
 graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (asset_reserve)
 
 graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (proposal_create)
 
 graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (review_period_insufficient, proposal_create, 2, "review_period insufficient") GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS(balance_claim)
 
 graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (override_transfer)
 
 graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (blind_transfer)
 
 graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (unknown_commitment, blind_transfer, 1, "Attempting to claim an unknown prior commitment")
 
 graphene::chain::GRAPHENE_IMPLEMENT_OP_BASE_EXCEPTIONS (liquidity_pool_exchange)
 
 graphene::chain::GRAPHENE_IMPLEMENT_OP_EVALUATE_EXCEPTION (unfillable_price, liquidity_pool_exchange, 1, "Unable to exchange at expected price")
 

Variables

 graphene::chain::chain_exception
 
block validation exception operation validation exception utility method exception graphene::chain::transaction_process_exception
 
 graphene::chain::limit_order_create
 
 graphene::chain::account_create
 

Macro Definition Documentation

◆ GRAPHENE_RECODE_EXC

#define GRAPHENE_RECODE_EXC (   cause_type,
  effect_type 
)
Value:
catch( const cause_type& e ) \
{ throw( effect_type( e.what(), e.get_log() ) ); }

Definition at line 175 of file exceptions.cpp.