Contents

networkUnavailable

An error that occurs when the network is unavailable.

Declaration

static var networkUnavailable: CKError.Code { get }

Discussion

You can retry network failures immediately, but have your app implement a backoff period so that it doesn’t attempt the same operation repeatedly.

If the network is unavailable, have your app monitor for network reachability and wait to reissue the operation when the network is available again. See doc://com.apple.documentation/documentation/cfnetwork/cfnetworkerrors for more information.

See Also

Getting Error Codes