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.""")
- Alphabetic
- By Inheritance
- SyncServiceDomainMustNotHaveInFlightTransactions
- ErrorCode
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class Error(domain: DomainAlias)(implicit loggingContext: ErrorLoggingContext) extends Impl with SyncServiceError with Product with Serializable
Value Members
- val category: ErrorCategory
- Definition Classes
- ErrorCode
- implicit val code: ErrorCode
- Definition Classes
- ErrorCode
- 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
- 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
- val id: String
- Definition Classes
- ErrorCode
- 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
- implicit val parent: ErrorClass
- Definition Classes
- ErrorCode
- 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