Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
websocketpp::transport::stub::error Namespace Reference

stub transport errors

Classes

class  category
 stub transport error category More...
 

Enumerations

enum  value { general = 1 , not_implemented }
 

Functions

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

Enumeration Type Documentation

◆ value

Enumerator
general 

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

not_implemented 

not implemented

Definition at line 43 of file base.hpp.

43 {
46 general = 1,
47
49 not_implemented
50};

Function Documentation

◆ get_category()

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

Definition at line 74 of file base.hpp.

74 {
75 static category instance;
76 return instance;
77}
stub transport error category
Definition base.hpp:53
Here is the caller graph for this function:

◆ make_error_code()

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

Definition at line 80 of file base.hpp.

80 {
81 return lib::error_code(static_cast<int>(e), get_category());
82}
Here is the call graph for this function: