SyncException

This exception is considered the top-level exception or general "catch-all" for problems related to using Device Sync.

This exception and subclasses of it will be passed to users through io.realm.kotlin.mongodb.sync.SyncConfiguration.Builder.errorHandler and the the exact reason must be found in Throwable.message.

See also

Inheritors

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

Flag to indicate that something has gone wrong with Device Sync in a way that is not recoverable and SyncSession will be SyncSession.State.INACTIVE until this error is resolved.

Link copied to clipboard
open val message: String?