BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Namespaces | Macros
exceptions.hpp File Reference
#include <fc/exception/exception.hpp>

Go to the source code of this file.

Namespaces

 graphene
 
 graphene::protocol
 

Macros

#define GRAPHENE_ASSERT(expr, exc_type, FORMAT, ...)
 

Macro Definition Documentation

◆ GRAPHENE_ASSERT

#define GRAPHENE_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 28 of file exceptions.hpp.