36 std::runtime_error(message),
49 std::stringstream flpf;
56 flpf <<
"\n · in file " <<
m_loc.file_name() <<
":" <<
m_loc.line()
58 <<
"\n · in function " <<
m_loc.function_name() <<
" :\n "
#define CEPS_WARNING
CepsString used as message for warnings.
#define CEPS_COLORED_ERROR
CepsString used as colored message for errors.
#define CEPS_COLORED_WARNING
CepsString used as colored message for warnings.
#define CEPS_STRING_SEPARATOR
CepsString used as separator.
#define CEPS_ERROR
CepsString used as message for errors.
std::basic_string< CepsChar > CepsString
C++ format string.
Flags * flags
Global variable, used in every application.
std::source_location m_loc
CepsException(const CepsString &message="", CepsBool warning=false, std::source_location loc=std::source_location::current())
Constructor with message and location of instantiation in source files.
CepsString errorMessage(CepsBool color=true) const
Nice display of error.
CepsBool testing() const
Tells if currently running in a test suite (switched in CepsGlobalFixture.hpp)
CepsUInt getRank()
Returns current processor rank.
CepsBool isMaster()
Is calling process the master ?