EHS Embedded HTTP Server
1.5.1.173
|
This class represents any errors in our WebSockets implementation. More...
#include <wsframe.h>
Public Types | |
enum | { FATAL_ERROR = 0, SOFT_ERROR = 1, PROTOCOL_VIOLATION = 2, PAYLOAD_VIOLATION = 3, INTERNAL_ENDPOINT_ERROR = 4, MESSAGE_TOO_BIG = 5, OUT_OF_MESSAGES = 6 } |
Public Member Functions | |
wserror (const std::string &__arg, int code=wserror::FATAL_ERROR) | |
Constructor. More... | |
virtual | ~wserror () throw () |
Destructor. | |
virtual const char * | what () const throw () |
Retrieve error message. More... | |
virtual int | code () const |
Retrieve error code. More... | |
This class represents any errors in our WebSockets implementation.
It is derived from tracing::exception in order to produce backtraces on platforms that have BFD or DWARF available.
|
inlineexplicit |
|
inlinevirtual |
Retrieve error code.
Definition at line 102 of file wsframe.h.
Referenced by wsendpoint::AddRxData().
|
inlinevirtual |
Retrieve error message.
Definition at line 96 of file wsframe.h.
Referenced by wsendpoint::AddRxData().