MessagingError

public struct MessagingError

The messaging error.

  • The error object.

    Declaration

    Swift

    public let error: Error
  • The flag identifying whether the error is recoverable or not.

    Declaration

    Swift

    public let isRecoverable: Bool
  • Initializes a MessagingError object with the given error and the flag identifying if the error is recoverable or not. The replicator uses isRecoverable flag to determine whether the replication should be retried as the error is recoverable or stopped as the error is non-recoverable.

    Declaration

    Swift

    public init(error: Error, isRecoverable: Bool)

    Parameters

    error

    The error object.

    isRecoverable

    The flag identifying if the error is recoverable or not.