HEBench
hebench::cpp::HEBenchError Class Reference

#include <error_handling.hpp>

Inheritance diagram for hebench::cpp::HEBenchError:
Collaboration diagram for hebench::cpp::HEBenchError:

Public Member Functions

 HEBenchError (const std::string &msg=std::string(), int err_code=0)
 
int getErrorCode () const
 

Static Public Member Functions

static std::string generateMessage (const std::string &message, const std::string &function, const std::string &container, const std::string &filename, int line_no)
 

Detailed Description

Definition at line 24 of file error_handling.hpp.

Constructor & Destructor Documentation

◆ HEBenchError()

hebench::cpp::HEBenchError::HEBenchError ( const std::string &  msg = std::string(),
int  err_code = 0 
)
inline

Definition at line 27 of file error_handling.hpp.

Member Function Documentation

◆ generateMessage()

std::string hebench::cpp::HEBenchError::generateMessage ( const std::string &  message,
const std::string &  function,
const std::string &  container,
const std::string &  filename,
int  line_no 
)
static

Definition at line 12 of file error_handling.cpp.

◆ getErrorCode()

int hebench::cpp::HEBenchError::getErrorCode ( ) const
inline

Definition at line 32 of file error_handling.hpp.


The documentation for this class was generated from the following files: