|
CppWAMP
C++11 client library for the WAMP protocol
|
Provides the reason URI, options, and payload arguments contained within WAMP ERROR messages.
More...
#include <cppwamp/peerdata.hpp>

Public Member Functions | |
| Error () | |
| Constructs an empty error. | |
| Error (String reason) | |
| Converting constructor taking a reason URI. | |
| Error (const error::BadType &e) | |
Constructor taking an error::BadType exception and interpreting it as a wamp.error.invalid_argument reason URI. | |
| virtual | ~Error () |
| Destructor. | |
| operator bool () const | |
| Conversion to bool operator, returning false if the error is empty. | |
| const String & | reason () const |
| Obtains the reason URI. | |
Provides the reason URI, options, and payload arguments contained within WAMP ERROR messages.