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

debug transport errors

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.
 
lib::error_code make_error_code (error::value e)
 Get an error code with the given value and the debug 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

invalid_num_bytes 
double_read 

Definition at line 44 of file base.hpp.

44 {
47 general = 1,
48
50 not_implemented,
51
52 invalid_num_bytes,
53
54 double_read
55};

Function Documentation

◆ get_category()

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

Definition at line 83 of file base.hpp.

83 {
84 static category instance;
85 return instance;
86}
debug transport error category
Definition base.hpp:58
Here is the caller graph for this function:

◆ make_error_code()

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

Definition at line 89 of file base.hpp.

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