31 :
Exception(message), _location(location) { }
40 return _location.c_str();
Exception thrown when the schema does not match the variant.
std::string _location
The location where the exception has occurred.
Exception base class for swarmros exceptions.
SchemaMismatchException(const char *message, const std::string &location)
Constructor.
const char * location() const
Get the location of the mismatch.