libmoost
/home/mhx/git/github/libmoost/include/moost/mq/error.h
Go to the documentation of this file.
00001 /* vim:set ts=3 sw=3 sts=3 et: */
00028 #ifndef MOOST_MQ_ERROR_H_
00029 #define MOOST_MQ_ERROR_H_
00030 
00031 #include <boost/system/error_code.hpp>
00032 
00033 namespace moost { namespace mq {
00034 
00035 namespace error
00036 {
00037    enum type
00038    {
00039       success = 0,
00040       queue_error = 1,
00041       subscribe_failed = 2,
00042       connect_cmd_failed = 3,
00043       connection_lost = 4
00044    };
00045 }
00046 
00047 const boost::system::error_category& mq_error_category();
00048 
00049 }}
00050 
00051 #endif