23 #include <spdlog/details/format.h> 55 const std::string &
what,
const std::string &cond_str)
59 "Invalid Argument {}. Value was {}. Condition was {}. Friendly {}",
60 arg_name, arg_val, cond_str, what);
This is the header file for a generated source file, GitSHA1.cpp.
InvalidArgument(const std::string &arg_name, const T &arg_val, const std::string &what, const std::string &cond_str)
The constructor takes multiple parameter in order to output an informative message.
virtual const char * what() const noexcept final
Exception class for LEOSAC Project related errors.
A class to represents invalid argument exception in Leosac.
A base class for Leosac specific exception.
std::string format(const std::string &escape_code, const T &in)
Return a string containing the escape code, a string representation of T and the clear escape string...