networkFailure
An error that occurs when a network is available, but CloudKit is inaccessible.
Declaration
static var networkFailure: 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.