Forge
Error Class Reference

#include <exception.h>

+ Inheritance diagram for Error:

Public Member Functions

 Error (const char *const pFuncName, int pLine, const char *const pMessage, ErrorCode pErrCode)
 
const char * functionName () const
 
int line () const
 
ErrorCode err () const
 
virtual ~Error () throw ()
 

Friends

std::ostream & operator<< (std::ostream &s, const Error &e)
 

Constructor & Destructor Documentation

◆ Error()

Error ( const char *const  pFuncName,
int  pLine,
const char *const  pMessage,
ErrorCode  pErrCode 
)

◆ ~Error()

virtual ~Error ( )
throw (
)
virtual

Member Function Documentation

◆ err()

ErrorCode err ( ) const

◆ functionName()

const char* functionName ( ) const

◆ line()

int line ( ) const

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  s,
const Error e 
)
friend

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