#include <cabal_error.h>
Inheritance diagram for Cabal::Error:
Public Member Functions | |
Error (const std::string &desc, int code=0) | |
Create the error. | |
int | osCode () const |
Return a numeric OS-dependant code. | |
const std::string & | description () const |
Returns a descriptive string about what the error is. | |
virtual const std::string | className () const |
Returns the name of the class. | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, Error &err) |
Serializes the error. |
Definition at line 44 of file cabal_error.h.
|
Create the error.
Definition at line 55 of file cabal_error.h. |
|
Return a numeric OS-dependant code. This can be useful for debugging application running in a given environment Definition at line 65 of file cabal_error.h. |
|
Serializes the error. Use this operator to display what kind of error has happened Definition at line 30 of file ltlib/cabal_error.cpp. |