Enumeration

nw_error_domain_t

The error domain for errors used by the Network framework.

Declaration

typedef enum : unsigned int {
    ...
} nw_error_domain_t;

Topics

Error Domain Constants

nw_error_domain_invalid

The error is invalid.

nw_error_domain_posix

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

nw_error_domain_dns

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

nw_error_domain_tls

A TLS error reported by a TLS connection or listener.

CFError Domain Constants

kNWErrorDomainPOSIX

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

kNWErrorDomainDNS

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

kNWErrorDomainTLS

A TLS error reported by a TLS connection or listener.

See Also

Inspecting Errors

nw_error_get_error_domain

Accesses the domain of the network error.

nw_error_get_error_code

Accesses the specific code of the network error.

nw_error_copy_cf_error

Copies out a CFErrorRef that represents a network error.