CloudKitSyncException class final

A failure reported by the CloudKit sync bridge.

Implemented types

Constructors

CloudKitSyncException({required String code, String? message, String? nativeDomain, int? nativeCode})
Creates a CloudKitSyncException.
const
CloudKitSyncException.fromPlatformException(PlatformException exception)
Converts a channel failure.
factory

Properties

code → String
One of the codes above.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String?
Description of the failure.
final
nativeCode → int?
Native error code for nativeError, such as a CKError.Code raw value.
final
nativeDomain → String?
Native error domain for nativeError, such as CKErrorDomain.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

engineNotRunning → const String
The engine was never started, or it stopped. message says why.
invalidArgument → const String
An argument broke the bridge's contract.
invalidStateSerialization → const String
The state passed to start could not be decoded.
missingAsset → const String
The downloaded record has no asset in the requested field.
nativeError → const String
A CloudKit or Foundation error; see nativeDomain and nativeCode.
unsupportedPlatformVersion → const String
The OS is older than iOS 17 or macOS 14.