HEBench
error_handling.hpp File Reference
#include <stdexcept>
#include <string>
Include dependency graph for error_handling.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hebench::cpp::HEBenchError
 

Namespaces

 hebench
 
 hebench::cpp
 

Macros

#define HEBERROR_DECLARE_CLASS_NAME(class_name)   static constexpr const char *m_private_class_name = #class_name;
 
#define HEBERROR_MSG_CLASS(message)
 
#define HEBERROR_MSG(message)
 

Macro Definition Documentation

◆ HEBERROR_DECLARE_CLASS_NAME

#define HEBERROR_DECLARE_CLASS_NAME (   class_name)    static constexpr const char *m_private_class_name = #class_name;

Definition at line 14 of file error_handling.hpp.

◆ HEBERROR_MSG

#define HEBERROR_MSG (   message)
Value:
__func__, std::string(), \
__FILE__, __LINE__)
static std::string generateMessage(const std::string &message, const std::string &function, const std::string &container, const std::string &filename, int line_no)

Definition at line 20 of file error_handling.hpp.

◆ HEBERROR_MSG_CLASS

#define HEBERROR_MSG_CLASS (   message)
Value:
__func__, m_private_class_name, \
__FILE__, __LINE__)

Definition at line 16 of file error_handling.hpp.