QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
Error Class Reference

#include <Error.h>

Public Member Functions

 Error (Error const &other)
 Copy constructor.
 
 Error (int code, std::string const &message, std::string const &method)
 
int GetCode () const
 
const char * GetMessage () const
 
const char * GetMethod () const
 
Erroroperator= (Error const &rhs)
 Assignment operator.
 

Private Attributes

int m_code
 
std::string m_message
 
std::string m_method
 

Constructor & Destructor Documentation

◆ Error() [1/2]

Error::Error ( int code,
std::string const & message,
std::string const & method )

◆ Error() [2/2]

Error::Error ( Error const & other)

Copy constructor.

Member Function Documentation

◆ GetCode()

int Error::GetCode ( ) const
inline

◆ GetMessage()

const char * Error::GetMessage ( ) const
inline

◆ GetMethod()

const char * Error::GetMethod ( ) const
inline

◆ operator=()

Error & Error::operator= ( Error const & rhs)

Assignment operator.

Member Data Documentation

◆ m_code

int Error::m_code
private

◆ m_message

std::string Error::m_message
private

◆ m_method

std::string Error::m_method
private

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