
#include <wefts_error.h>
Inheritance diagram for Wefts::Error:

Public Member Functions | |
| Error (int code=0, std::string descr="Generic low-level error") | |
| Create the error. | |
| int | osCode () const |
| Return a numeric OS-dependant code. | |
| virtual 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. | |
Private Attributes | |
| int | m_osCode |
| std::string | m_descr |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, Error &err) |
| Serializes the error. | |
|
||||||||||||
|
Create the error.
|
|
|
Returns the name of the class.
Reimplemented in Wefts::NotJoinableError, Wefts::InvalidError, Wefts::InitError, and Wefts::StartError. |
|
|
Returns a descriptive string about what the error is.
|
|
|
Return a numeric OS-dependant code. This can be useful for debugging application running in a given environment |
|
||||||||||||
|
Serializes the error. Use this operator to display what kind of error has happened |
|
|
|
|
|
|
1.3.5