ApraLinuxUtils 1.0.0
C++ utility library for embedded Linux systems
 
Loading...
Searching...
No Matches
apra::GenericError Class Reference

#include <GenericError.h>

Inheritance diagram for apra::GenericError:
apra::I2CError

Public Member Functions

 GenericError ()
 
 GenericError (std::string message)
 
 GenericError (std::string message, std::string debugMessages)
 
virtual ~GenericError ()
 
bool isError ()
 
std::string getMessage ()
 
std::string getDebugMessage ()
 

Protected Attributes

std::string m_message
 
std::string m_debugMessage
 
bool m_isError
 

Detailed Description

Definition at line 20 of file GenericError.h.

Constructor & Destructor Documentation

◆ GenericError() [1/3]

GenericError::GenericError ( )

Definition at line 15 of file GenericError.cpp.

◆ GenericError() [2/3]

GenericError::GenericError ( std::string  message)

Definition at line 20 of file GenericError.cpp.

◆ GenericError() [3/3]

GenericError::GenericError ( std::string  message,
std::string  debugMessages 
)

Definition at line 26 of file GenericError.cpp.

◆ ~GenericError()

GenericError::~GenericError ( )
virtual

Definition at line 32 of file GenericError.cpp.

Member Function Documentation

◆ getDebugMessage()

std::string GenericError::getDebugMessage ( )

Definition at line 46 of file GenericError.cpp.

References m_debugMessage.

Referenced by apra::I2C_Interface::I2C_Interface(), and apra::I2CError::operator=().

◆ getMessage()

std::string GenericError::getMessage ( )

◆ isError()

Member Data Documentation

◆ m_debugMessage

std::string apra::GenericError::m_debugMessage
protected

Definition at line 32 of file GenericError.h.

Referenced by getDebugMessage(), and apra::I2CError::operator=().

◆ m_isError

bool apra::GenericError::m_isError
protected

Definition at line 33 of file GenericError.h.

Referenced by isError(), and apra::I2CError::operator=().

◆ m_message

std::string apra::GenericError::m_message
protected

Definition at line 31 of file GenericError.h.

Referenced by getMessage(), and apra::I2CError::operator=().


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