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

General purpose runtime exception that wraps a std::error_code. More...

#include <cppwamp/error.hpp>

Inherits std::system_error.

Public Member Functions

 Failure (std::error_code ec)
 Constructor taking an error code.
 
 Failure (std::error_code ec, const std::string &info)
 Constructor taking an error code and informational string.
 

Static Public Member Functions

static std::string makeMessage (std::error_code ec)
 Obtains a human-readable message from the given error code.
 
static std::string makeMessage (std::error_code ec, const std::string &info)
 Obtains a human-readable message from the given error code and information string.
 

Detailed Description

General purpose runtime exception that wraps a std::error_code.


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