Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
websocketpp::transport::error::category Class Reference

#include <connection.hpp>

Inheritance diagram for websocketpp::transport::error::category:
Collaboration diagram for websocketpp::transport::error::category:

Public Member Functions

 category ()
 
char const * name () const _WEBSOCKETPP_NOEXCEPT_TOKEN_
 
std::string message (int value) const
 

Detailed Description

Definition at line 183 of file connection.hpp.

Constructor & Destructor Documentation

◆ category()

websocketpp::transport::error::category::category ( )
inline

Definition at line 185 of file connection.hpp.

185{}

Member Function Documentation

◆ message()

std::string websocketpp::transport::error::category::message ( int value) const
inline

Definition at line 191 of file connection.hpp.

191 {
192 switch(value) {
193 case general:
194 return "Generic transport policy error";
195 case pass_through:
196 return "Underlying Transport Error";
198 return "async_read_at_least call requested more bytes than buffer can store";
200 return "The operation was aborted";
202 return "The operation is not supported by this transport";
203 case eof:
204 return "End of File";
205 case tls_short_read:
206 return "TLS Short Read";
207 case timeout:
208 return "Timer Expired";
210 return "A transport action was requested after shutdown";
211 case tls_error:
212 return "Generic TLS related error";
213 default:
214 return "Unknown";
215 }
216 }
@ pass_through
underlying transport pass through
@ operation_not_supported
Operation not supported.
@ operation_aborted
Operation aborted.
@ invalid_num_bytes
async_read_at_least call requested more bytes than buffer can store
@ action_after_shutdown
read or write after shutdown
@ tls_short_read
TLS short read.

◆ name()

char const * websocketpp::transport::error::category::name ( ) const
inline

Definition at line 187 of file connection.hpp.

187 {
188 return "websocketpp.transport";
189 }

The documentation for this class was generated from the following file: