#include <wefts_error.h>
Inheritance diagram for Wefts::Error:
Public Methods | |
Error (int code=0) | |
Create the error. | |
int | osCode () const |
Return a numeric OS-dependant code. | |
virtual const std::string | description () |
Returns a descriptive string about what the error is. | |
Private Attributes | |
int | m_osCode |
Friends | |
std::ostream & | operator<< (std::ostream &stream, Error &err) |
Serializes the error. |
|
Create the error.
|
|
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 |
|
|