proxygen
|
#include <SSLErrors.h>
Public Member Functions | |
SSLException (int sslError, unsigned long errError, int sslOperationReturnValue, int errno_copy) | |
SSLException (SSLError error) | |
SSLError | getSSLError () const |
Public Member Functions inherited from folly::AsyncSocketException | |
AsyncSocketException (AsyncSocketExceptionType type, const std::string &message, int errnoCopy=0) | |
AsyncSocketExceptionType | getType () const noexcept |
int | getErrno () const noexcept |
Private Attributes | |
SSLError | sslError |
Additional Inherited Members | |
Public Types inherited from folly::AsyncSocketException | |
enum | AsyncSocketExceptionType { UNKNOWN = 0, NOT_OPEN = 1, ALREADY_OPEN = 2, TIMED_OUT = 3, END_OF_FILE = 4, INTERRUPTED = 5, BAD_ARGS = 6, CORRUPTED_DATA = 7, INTERNAL_ERROR = 8, NOT_SUPPORTED = 9, INVALID_STATE = 10, SSL_ERROR = 12, COULD_NOT_BIND = 13, SASL_HANDSHAKE_TIMEOUT = 14, NETWORK_ERROR = 15, EARLY_DATA_REJECTED = 16 } |
Static Protected Member Functions inherited from folly::AsyncSocketException | |
static folly::StringPiece | getExceptionTypeString (AsyncSocketExceptionType type) |
static std::string | getMessage (AsyncSocketExceptionType type, const std::string &message, int errnoCopy) |
Protected Attributes inherited from folly::AsyncSocketException | |
AsyncSocketExceptionType | type_ |
int | errno_ |
Definition at line 31 of file SSLErrors.h.
folly::SSLException::SSLException | ( | int | sslError, |
unsigned long | errError, | ||
int | sslOperationReturnValue, | ||
int | errno_copy | ||
) |
Definition at line 105 of file SSLErrors.cpp.
References folly::EOF_ERROR, folly::NETWORK_ERROR, and folly::SSL_ERROR.
|
explicit |
Definition at line 124 of file SSLErrors.cpp.
|
inline |
Definition at line 41 of file SSLErrors.h.
|
private |
Definition at line 46 of file SSLErrors.h.