CppWAMP
C++11 client library for the WAMP protocol
wamp::Error Class Reference

Provides the reason URI, options, and payload arguments contained within WAMP ERROR messages. More...

#include <cppwamp/peerdata.hpp>

Inheritance diagram for wamp::Error:

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 Stringreason () const
 Obtains the reason URI.
 

Detailed Description

Provides the reason URI, options, and payload arguments contained within WAMP ERROR messages.


The documentation for this class was generated from the following files: