Package io.realm.kotlin.mongodb.exceptions

Types

AppException
Link copied to clipboard
open class AppException : RealmException
Top level class for all exceptions that are specific to using App Services and Device Sync.
AuthException
Link copied to clipboard
open class AuthException : ServiceException
This exception is considered the top-level or "catch-all" for problems related to user account actions.
BadFlexibleSyncQueryException
Link copied to clipboard
class BadFlexibleSyncQueryException : SyncException
Thrown when the server does not support one or more of the queries defined in the io.realm.kotlin.mongodb.sync.SubscriptionSet.
BadRequestException
Link copied to clipboard
class BadRequestException : ServiceException
This exception is thrown when parameters sent to Atlas App Services are considered malformed.
ClientResetRequiredException
Link copied to clipboard
class ClientResetRequiredException(appPointer: <ERROR CLASS>, error: SyncError) : Throwable
Class encapsulating information needed for handling a Client Reset event.
ConnectionException
Link copied to clipboard
open class ConnectionException : ServiceException
Exception indicating that something went wrong with the underlying HTTP request to App Services.
DownloadingRealmTimeOutException
Link copied to clipboard
class DownloadingRealmTimeOutException : RealmException
Thrown when opening a Realm and it didn't finish download server data in the allocated timeframe.
InvalidCredentialsException
Link copied to clipboard
class InvalidCredentialsException : AuthException
Thrown when credentials were rejected by the server when trying to log in.
ServiceException
Link copied to clipboard
open class ServiceException : AppException
This exception is considered the top-level or "catch-all" for problems related to HTTP requests made towards App Services.
SyncException
Link copied to clipboard
open class SyncException : AppException
This exception is considered the top-level exception or general "catch-all" for problems related to using Device Sync.
UnrecoverableSyncException
Link copied to clipboard
class UnrecoverableSyncException : SyncException
Thrown when something has gone wrong with Device Sync in a way that is not recoverable.
UserAlreadyConfirmedException
Link copied to clipboard
class UserAlreadyConfirmedException : AuthException
Thrown when trying to confirm a user that was already confirmed on the server.
UserAlreadyExistsException
Link copied to clipboard
class UserAlreadyExistsException : AuthException
Thrown when trying to register a new user with email and password, and the user already exists.
UserNotFoundException
Link copied to clipboard
class UserNotFoundException : AuthException
Thrown when using an API that also require some kind of user identifier, but the server is not able to find the user.
WrongSyncTypeException
Link copied to clipboard
class WrongSyncTypeException : SyncException
Thrown when the type of sync used by the server does not match the one used by the client, i.e.