mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 15:50:17 +01:00
Make CloudKitZoneResult internal.
This commit is contained in:
parent
f6e2d15aa2
commit
028ced6c7f
@ -9,7 +9,7 @@
|
||||
import Foundation
|
||||
import CloudKit
|
||||
|
||||
public enum CloudKitZoneResult {
|
||||
enum CloudKitZoneResult {
|
||||
case success
|
||||
case retry(afterSeconds: Double)
|
||||
case limitExceeded
|
||||
@ -20,7 +20,7 @@ public enum CloudKitZoneResult {
|
||||
case userDeletedZone
|
||||
case failure(error: Error)
|
||||
|
||||
public static func resolve(_ error: Error?) -> CloudKitZoneResult {
|
||||
static func resolve(_ error: Error?) -> CloudKitZoneResult {
|
||||
|
||||
guard error != nil else { return .success }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user