NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
websocketpp::transport::debug::error Namespace Reference

debug transport errors More...

Classes

class  category
 debug transport error category More...
 

Enumerations

enum  value { general = 1, not_implemented, invalid_num_bytes, double_read }
 

Functions

lib::error_category const & get_category ()
 Get a reference to a static copy of the debug transport error category. More...
 
lib::error_code make_error_code (error::value e)
 Get an error code with the given value and the debug transport category. More...
 

Detailed Description

debug transport errors

Enumeration Type Documentation

Enumerator
general 

Catch-all error for transport policy errors that don't fit in other categories.

not_implemented 

not implemented

invalid_num_bytes 
double_read 

Definition at line 44 of file base.hpp.

Function Documentation

lib::error_category const& websocketpp::transport::debug::error::get_category ( )
inline

Get a reference to a static copy of the debug transport error category.

Definition at line 83 of file base.hpp.

Referenced by make_error_code().

lib::error_code websocketpp::transport::debug::error::make_error_code ( error::value  e)
inline

Get an error code with the given value and the debug transport category.

Definition at line 89 of file base.hpp.

References _WEBSOCKETPP_ERROR_CODE_ENUM_NS_START_, and get_category().