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

std::error_category used for reporting errors at the WAMP session layer. More...

#include <cppwamp/error.hpp>

Inherits std::error_category.

Public Member Functions

virtual const char * name () const noexcept override
 Obtains the name of the category.
 
virtual std::string message (int ev) const override
 Obtains the explanatory string.
 
virtual bool equivalent (const std::error_code &code, int condition) const noexcept override
 Compares error_code and and error condition for equivalence.
 

Related Functions

(Note that these are not member functions.)

SessionCategorywampCategory ()
 Obtains a reference to the static error category object for Wamp errors.
 
std::error_code make_error_code (SessionErrc errc)
 Creates an error code value from an SessionErrc enumerator.
 
std::error_condition make_error_condition (SessionErrc errc)
 Creates an error condition value from an SessionErrc enumerator.
 
bool lookupWampErrorUri (const std::string &uri, SessionErrc fallback, SessionErrc &result)
 Looks up the SessionErrc enumerator that corresponds to the given error URI.
 

Detailed Description

std::error_category used for reporting errors at the WAMP session layer.

See also
SessionErrc

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