A simple error class with a default ErrorCode of User for quick error messages. More...
#include <Errors.h>
Public Member Functions | |
| UserError (const std::string &msg) | |
| virtual std::string | toString () const |
| Returns the message set in the constructor. | |
A simple error class with a default ErrorCode of User for quick error messages.
This class is not used by GNE, but you are welcome to use it to throw your own exceptions, perhaps from Packet::readPacket.
1.6.1