69 template<
typename ... Args>
71 : locations { location, furtherLocations... }
74 ? formatSingle(reason, locations[0])
75 : formatMultiple(reason, locations)
95 : locations { location }
96 , m_what { formatException(error, locations[0]) }
99 const char * what()
const throw()
101 return this->m_what.c_str();
105 static std::string format(
const std::string& msg_format,
const KeywordLocation& loc);
111 std::vector<KeywordLocation> locations;
115 static std::string formatException(
const std::exception& e,
const KeywordLocation& loc);
116 static std::string formatSingle(
const std::string& reason,
const KeywordLocation&);
117 static std::string formatMultiple(
const std::string& reason,
const std::vector<KeywordLocation>&);
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30