zmqpp  4.1.2
C++ bindings for 0mq (libzmq)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Private Attributes | List of all members
zmqpp::zmq_internal_exception Class Reference

Represents internal zmq errors. More...

#include <exception.hpp>

Inheritance diagram for zmqpp::zmq_internal_exception:
Inheritance graph
[legend]
Collaboration diagram for zmqpp::zmq_internal_exception:
Collaboration graph
[legend]

Public Member Functions

 zmq_internal_exception ()
 Uses the zmq functions to pull out error messages and numbers. More...
 
int zmq_error () const
 Retrieve the zmq error number associated with this exception. More...
 
- Public Member Functions inherited from zmqpp::exception
 exception (std::string const &message)
 Standard exception constructor. More...
 

Private Attributes

int _error
 

Detailed Description

Represents internal zmq errors.

Any error response from the zmq bindings will be wrapped in this error.

The class provides access to the zmq error number via zmq_error().

Constructor & Destructor Documentation

zmqpp::zmq_internal_exception::zmq_internal_exception ( )
inline

Uses the zmq functions to pull out error messages and numbers.

Member Function Documentation

int zmqpp::zmq_internal_exception::zmq_error ( ) const
inline

Retrieve the zmq error number associated with this exception.

Returns
zmq error number

Member Data Documentation

int zmqpp::zmq_internal_exception::_error
private

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