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

std::error_category used for reporting protocol errors related to invalid WAMP messages. 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.)

ProtocolCategoryprotocolCategory ()
 Obtains a reference to the static error category object for protocol errors.
 
std::error_code make_error_code (ProtocolErrc errc)
 Creates an error code value from a ProtocolErrc enumerator.
 
std::error_condition make_error_condition (ProtocolErrc errc)
 Creates an error condition value from a ProtocolErrc enumerator.
 

Detailed Description

std::error_category used for reporting protocol errors related to invalid WAMP messages.

See also
ProtocolErrc

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