Public Member Functions | List of all members
xxhr::Error Class Reference

Represents Errors happening at a lower layer than HTTP. More...

Public Member Functions

 operator std::string () const
 Converts Error to human readable std::string.
 

Detailed Description

Possible error codes are :

OK = 0,
TIMEDOUT,
CONNECTION_FAILURE,
EMPTY_RESPONSE,
HOST_RESOLUTION_FAILURE,
INTERNAL_ERROR,
INVALID_URL_FORMAT,
NETWORK_RECEIVE_ERROR,
NETWORK_SEND_FAILURE,
PROXY_RESOLUTION_FAILURE,
SSL_CONNECT_ERROR,
SSL_LOCAL_CERTIFICATE_ERROR,
SSL_REMOTE_CERTIFICATE_ERROR,
SSL_CACERT_ERROR,
GENERIC_SSL_ERROR,
UNSUPPORTED_PROTOCOL,
UNKNOWN_ERROR = 1000

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