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 ) assert( condition ); // @todo <= change this into an exception throw
27 #define JSON_ASSERT_MESSAGE( condition, message ) if (!( condition )) ripple::Throw<Json::error> ( message );