Structure
ConnectionError
Ошибка соединения с сервером
Declaration
struct ConnectionError
Topics
Operators
Instance Properties
var errorCode: UInt32
Код ошибки
let errorDescription: String?
Описание ошибки
Type Properties
static let connectionTimeout: ConnectionError
Connection timeout
static let couldntConnect: ConnectionError
Failed to connect to host or proxy.
static let couldntResolveHost: ConnectionError
Could not resolve host. The given remote host was not resolved.
static let sshUnspecifiedError: ConnectionError
An unspecified error occurred during the SSH session.
static let sslCaCertBadFile: ConnectionError
Problem with reading the SSL CA cert
static let sslCertProblem: ConnectionError
Problem with the local client certificate.
static let sslConnectError: ConnectionError
A problem occurred somewhere in the SSL/TLS handshake. Could be certificates (file formats, paths, permissions), passwords, and others.
static let sslCrlBadFile: ConnectionError
Failed to load CRL file
static let tooManyRedirects: ConnectionError
Too many redirects. When following redirects, libcurl hit the maximum amount.