38 #ifdef INFACT_THROW_EXCEPTIONS
47 void Error(
const std::string &message) {
48 #ifdef INFACT_THROW_EXCEPTIONS
49 throw std::runtime_error(message);
51 std::cerr << message << std::endl;
Provides an error handling function that optionally throws an exception.
void Error(const std::string &message)
Reports an error encountered during parsing and/or construction of an object.