MessagingError

actual class MessagingError(val error: Exception, recoverable: Boolean) : DelegatedClass<CBLMessagingError> (source)
expect class MessagingError(error: Exception, recoverable: Boolean)(source)

ENTERPRISE EDITION API

The messaging error.

Parameters

error

the error

recoverable

the recoverable flag

actual class MessagingError : DelegatedClass<<Error class: unknown class>> (source)
actual class MessagingError(val error: Exception, recoverable: Boolean)(source)

Constructors

Link copied to clipboard
actual constructor(error: Exception, recoverable: Boolean)
expect constructor(error: Exception, recoverable: Boolean)

Creates a MessagingError with the given error and recoverable flag identifying if the error is recoverable or not. The replicator uses recoverable flag to determine whether the replication should be retried or stopped as the error is non-recoverable.

actual constructor(error: Exception, recoverable: Boolean)
actual constructor(error: Exception, recoverable: Boolean)

Properties

Link copied to clipboard
actual val error: Exception
expect val error: Exception

The error object.

actual val error: Exception
actual val error: Exception
Link copied to clipboard

Is the error recoverable?

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
open override fun toString(): String