MessagingError

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

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.

Parameters

error

the error

recoverable

the recoverable flag

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