o

com.digitalasset.canton.participant.sync.SyncServiceError

SyncServiceDomainMustNotHaveInFlightTransactions

object SyncServiceDomainMustNotHaveInFlightTransactions extends ErrorCode

Annotations
@Explanation(explanation = "This error is emitted when a domain migration is attempted while transactions are still in-flight on the source domain.") @Resolution(resolution = """Ensure the source domain has no in-flight transactions by reconnecting participants to the source domain, halting
|activity on the participants and waiting for in-flight transactions to complete or time out. Afterwards invoke
|`migrate_domain` again. As a last resort, you may force the domain migration ignoring in-flight transactions using
|the `force` flag on the command. Be advised, forcing a migration may lead to a ledger fork."""
)
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SyncServiceDomainMustNotHaveInFlightTransactions
  2. ErrorCode
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class Error(domain: DomainAlias)(implicit loggingContext: ErrorLoggingContext) extends Impl with SyncServiceError with Product with Serializable

Value Members

  1. val category: ErrorCategory
    Definition Classes
    ErrorCode
  2. implicit val code: ErrorCode
    Definition Classes
    ErrorCode
  3. def codeStr(correlationId: Option[String]): String

    The machine readable error code string, uniquely identifiable by the error id, error category and correlation id.

    The machine readable error code string, uniquely identifiable by the error id, error category and correlation id. e.g. NO_DOMAINS_CONNECTED(2,ABC234)

    Definition Classes
    ErrorCode
  4. def errorConveyanceDocString: Option[String]

    The error conveyance doc string provides a statement about the form this error will be returned to the user

    The error conveyance doc string provides a statement about the form this error will be returned to the user

    Definition Classes
    ErrorCode
  5. val id: String
    Definition Classes
    ErrorCode
  6. def logLevel: Level

    Log level of the error code

    Log level of the error code

    Generally, the log level is defined by the error category. In rare cases, it might be overridden by the error code.

    Definition Classes
    ErrorCode
  7. implicit val parent: ErrorClass
    Definition Classes
    ErrorCode
  8. def toMsg(cause: => String, correlationId: Option[String], limit: Option[Int]): String

    returns

    message including error category id, error code id, correlation id and cause

    Definition Classes
    ErrorCode