20 #ifndef RIPPLE_JSON_JSON_ASSERT_H_INCLUDED
21 #define RIPPLE_JSON_JSON_ASSERT_H_INCLUDED
23 #include <ripple/json/json_errors.h>
25 #define JSON_ASSERT_UNREACHABLE assert(false)
26 #define JSON_ASSERT(condition) \
27 assert(condition); // @todo <= change this into an exception throw
28 #define JSON_ASSERT_MESSAGE(condition, message) \
30 ripple::Throw<Json::error>(message);