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

Classes

class  category
 

Enumerations

enum  value { general = 1 , disabled }
 

Functions

lib::error_category const & get_category ()
 
lib::error_code make_error_code (error::value e)
 

Enumeration Type Documentation

◆ value

Enumerator
general 

Catch all.

disabled 

Extension disabled.

Definition at line 53 of file extension.hpp.

53 {
55 general = 1,
56
59};
@ disabled
Extension disabled.
Definition extension.hpp:58

Function Documentation

◆ get_category()

lib::error_category const & websocketpp::extensions::error::get_category ( )
inline

Definition at line 81 of file extension.hpp.

81 {
82 static category instance;
83 return instance;
84}
Here is the caller graph for this function:

◆ make_error_code()

lib::error_code websocketpp::extensions::error::make_error_code ( error::value e)
inline

Definition at line 86 of file extension.hpp.

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