Structureswift-nio 2.81.0NIOPosix
NIOConnectionError
A representation of all the errors that happened during an attempt to connect to a given host and port.
struct NIOConnectionError
A representation of all the errors that happened during an attempt to connect to a given host and port.
struct NIOConnectionError
import NIOPosix
protocol Error : Sendable
A type representing an error value that can be thrown.
protocol Sendable
var connectionErrors: [SingleConnectionFailure] { get }
The errors we encountered during the connection attempts.
var dnsAAAAError: Error? { get }
The error we encountered doing the DNS AAAA lookup, if any.
var dnsAError: Error? { get }
The error we encountered doing the DNS A lookup, if any.
let host: String
The hostname SwiftNIO was trying to connect to.
let port: Int
The port SwiftNIO was trying to connect to.
import MongoKitten
var localizedDescription: String { get }
Retrieve the localized description for this error.