Enumeration

NWError

The errors returned by objects in the Network framework.

Declaration

enum NWError

Topics

Checking Error Types

case posix(POSIXErrorCode)

A POSIX error, which is used for most network protocol and routing errors.

case dns(DNSServiceErrorType)

A DNS error encountered in resolving, browsing, or advertising.

case tls(OSStatus)

A TLS error reported by a TLS connection or listener.

Inspecting Errors

var debugDescription: String

The description of the error.

var localizedDescription: String

The localized description of the error.

static func != (NWError, NWError) -> Bool

Returns a Boolean value indicating whether two values are not equal.

Relationships