81 const std::vector<ModelError>
errors()
const;
std::vector< ModelError > errors_
const std::vector< ModelError > errors() const
Access the vector of errors.
json json_errors() const
Format the ModelError object(s).
An exception class for general API error.
std::string message
The error message.
Exception class for LEOSAC Project related errors.
std::string source_pointer
The "path" to the source of the error.
A base class for Leosac specific exception.
ModelException(const std::string &source_pointer, const std::string &msg)
This is an helper constructor that will instanciate a ModelError object from the 2 parameters...