Define ER_ASSERT

Define Documentation

ER_ASSERT(cond, msg, ...)

Check a boolean condition cond in a function, halting the program if the condition is not true. Like assert(), but allows for an additional custom msg to be logged.