Ditto Error
All errors that are thrown by the Ditto SDK are wrapped as a DittoError
. It wraps multiple different types of error that each have an associated reason.
You can access more specific information about an error by switching over the error's reason
value. If you want a human-readable version of the error then call localizedMessage
on the error's reason.
activationError: An error occurred relating to activating the Ditto instance.
storeError: An error occurred relating to the store.
transportError: An error occurred relating to the network transports.
Types
activationError
Link copied to clipboard
data class activationError(reason: DittoError.ActivationErrorReason) : DittoError
Content copied to clipboard
ActivationErrorReason
Link copied to clipboard
sealed class ActivationErrorReason
Content copied to clipboard
authenticationError
Link copied to clipboard
data class authenticationError(reason: DittoError.AuthenticationErrorReason) : DittoError
Content copied to clipboard
AuthenticationErrorReason
Link copied to clipboard
sealed class AuthenticationErrorReason
Content copied to clipboard
storeError
Link copied to clipboard
StoreErrorReason
Link copied to clipboard
sealed class StoreErrorReason
Content copied to clipboard
transportError
Link copied to clipboard
data class transportError(reason: DittoError.TransportErrorReason) : DittoError
Content copied to clipboard
TransportErrorReason
Link copied to clipboard
sealed class TransportErrorReason
Content copied to clipboard
Functions
addSuppressed
Link copied to clipboard
fillInStackTrace
Link copied to clipboard
getLocalizedMessage
Link copied to clipboard
getStackTrace
Link copied to clipboard
getSuppressed
Link copied to clipboard
printStackTrace
Link copied to clipboard
open fun printStackTrace()
Content copied to clipboard
setStackTrace
Link copied to clipboard
Properties
Inheritors
DittoError
Link copied to clipboard
DittoError
Link copied to clipboard
DittoError
Link copied to clipboard
DittoError
Link copied to clipboard