#include <fc/exception/exception.hpp>
#include <scorum/protocol/protocol.hpp>
Go to the source code of this file.
|
#define | SCORUM_ASSERT(expr, exc_type, FORMAT, ...) |
|
#define | SCORUM_RECODE_EXC(cause_type, effect_type) catch (const cause_type& e) { throw(effect_type(e.what(), e.get_log())); } |
|
|
| scorum::protocol::FC_DECLARE_DERIVED_EXCEPTION (tx_missing_active_auth, scorum::protocol::transaction_exception, 3010000, "missing required active authority") FC_DECLARE_DERIVED_EXCEPTION(tx_missing_owner_auth |
|
missing required owner authority | scorum::protocol::FC_DECLARE_DERIVED_EXCEPTION (tx_missing_posting_auth, scorum::protocol::transaction_exception, 3030000, "missing required posting authority") FC_DECLARE_DERIVED_EXCEPTION(tx_missing_other_auth |
|
missing required owner authority missing required other authority | scorum::protocol::FC_DECLARE_DERIVED_EXCEPTION (tx_irrelevant_sig, scorum::protocol::transaction_exception, 3050000, "irrelevant signature included") FC_DECLARE_DERIVED_EXCEPTION(tx_duplicate_sig |
|
◆ SCORUM_ASSERT
#define SCORUM_ASSERT |
( |
|
expr, |
|
|
|
exc_type, |
|
|
|
FORMAT, |
|
|
|
... |
|
) |
| |
Value: FC_MULTILINE_MACRO_BEGIN \
if (!(expr)) \
FC_THROW_EXCEPTION(exc_type, FORMAT, __VA_ARGS__); \
FC_MULTILINE_MACRO_END
Definition at line 6 of file exceptions.hpp.
◆ SCORUM_RECODE_EXC
#define SCORUM_RECODE_EXC |
( |
|
cause_type, |
|
|
|
effect_type |
|
) |
| catch (const cause_type& e) { throw(effect_type(e.what(), e.get_log())); } |