Pasha Bibko Util Library
|
Default error class for Uti::ReturnVal. More...
#include <ReturnVal.h>
Public Member Functions | |
DefaultError () | |
Default constructor, sets the message to "NO REASON PROVIDED". | |
DefaultError (const char *_message) | |
Provide an error message for the error to carry. | |
Public Attributes | |
const char * | message |
A pointer to a c-string error message, not owned by the class/object. | |
Default error class for Uti::ReturnVal.
Simple error type that just holds an error message. Meant to be used as a temporary error until proper handling is put in place.
|
inline |
Default constructor, sets the message to "NO REASON PROVIDED".
|
inline |
Provide an error message for the error to carry.