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

Permessage deflate error values.

Classes

class  category
 Permessage-deflate error category. More...
 

Enumerations

enum  value {
  general = 1 , invalid_attributes , invalid_attribute_value , invalid_mode ,
  unsupported_attributes , invalid_max_window_bits , zlib_error , uninitialized
}
 

Functions

lib::error_category const & get_category ()
 Get a reference to a static copy of the permessage-deflate error category.
 
lib::error_code make_error_code (error::value e)
 Create an error code in the permessage-deflate category.
 

Enumeration Type Documentation

◆ value

Enumerator
general 

Catch all.

invalid_attributes 

Invalid extension attributes.

invalid_attribute_value 

Invalid extension attribute value.

invalid_mode 

Invalid megotiation mode.

unsupported_attributes 

Unsupported extension attributes.

invalid_max_window_bits 

Invalid value for max_window_bits.

zlib_error 

ZLib Error.

uninitialized 

Uninitialized.

Definition at line 91 of file enabled.hpp.

91 {
93 general = 1,
94
97
100
103
106
109
112
115};
@ unsupported_attributes
Unsupported extension attributes.
Definition enabled.hpp:105
@ invalid_max_window_bits
Invalid value for max_window_bits.
Definition enabled.hpp:108
@ invalid_attribute_value
Invalid extension attribute value.
Definition enabled.hpp:99
@ invalid_attributes
Invalid extension attributes.
Definition enabled.hpp:96

Function Documentation

◆ get_category()

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

Definition at line 151 of file enabled.hpp.

151 {
152 static category instance;
153 return instance;
154}
Here is the caller graph for this function:

◆ make_error_code()

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

Definition at line 157 of file enabled.hpp.

157 {
158 return lib::error_code(static_cast<int>(e), get_category());
159}
Here is the call graph for this function:
Here is the caller graph for this function: