Packages

o

com.daml.error.definitions.groups

ConsistencyErrors

object ConsistencyErrors extends LedgerApiErrors.ConsistencyErrors

Annotations
@Explanation(explanation = "Potential consistency errors raised due to race conditions during command submission or returned as submission rejections by the backing ledger.")
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConsistencyErrors
  2. ConsistencyErrors
  3. ErrorGroup
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. implicit val errorClass: ErrorClass
    Definition Classes
    ErrorGroup
  9. val fullClassName: String
    Definition Classes
    ErrorGroup
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. object ContractNotFound extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs if the Daml engine can not find a referenced contract. This
    |can be caused by either the contract not being known to the participant, or not being known to
    |the submitting parties or already being archived."""
    )
    @Resolution(resolution = "This error type occurs if there is contention on a contract.")
  22. object DuplicateCommand extends ErrorCode
    Annotations
    @Explanation(explanation = "A command with the given command id has already been successfully processed.") @Resolution(resolution = """The correct resolution depends on the use case. If the error received pertains to a submission retried due to a timeout,
    |do nothing, as the previous command has already been accepted.
    |If the intent is to submit a new command, re-submit using a distinct command id.
    |"""
    )
  23. object DuplicateContractKey extends ErrorCode
    Annotations
    @Explanation(explanation = """This error signals that within the transaction we got to a point where two contracts with the same key were active.""") @Resolution(resolution = "This error indicates an application error.")
  24. object Inconsistent extends ErrorCode
    Annotations
    @Explanation(explanation = "At least one input has been altered by a concurrent transaction submission.") @Resolution(resolution = "The correct resolution depends on the business flow, for example it may be possible to proceed " +
    "without an archived contract as an input, or the transaction submission may be retried " +
    "to load the up-to-date value of a contract key."
    )
  25. object InconsistentContractKey extends ErrorCode
    Annotations
    @Explanation(explanation = "An input contract key was re-assigned to a different contract by a concurrent transaction submission.") @Resolution(resolution = "Retry the transaction submission.")
  26. object InconsistentContracts extends ErrorCode
    Annotations
    @Explanation(explanation = "An input contract has been archived by a concurrent transaction submission.") @Resolution(resolution = "The correct resolution depends on the business flow, for example it may be possible to " +
    "proceed without the archived contract as an input, or a different contract could be used."
    )
  27. object InvalidLedgerTime extends ErrorCode
    Annotations
    @Explanation(explanation = "The ledger time of the submission violated some constraint on the ledger time.") @Resolution(resolution = "Retry the transaction submission.")
  28. object SubmissionAlreadyInFlight extends ErrorCode
    Annotations
    @Explanation(explanation = "Another command submission with the same change ID (application ID, command ID, actAs) is already being processed.") @Resolution(resolution = """Listen to the command completion stream until a completion for the in-flight command submission is published.
    |Alternatively, resubmit the command. If the in-flight submission has finished successfully by then,
    |this will return more detailed information about the earlier one.
    |If the in-flight submission has failed by then, the resubmission will attempt to record the new transaction on the ledger.
    |"""
    )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from ErrorGroup

Inherited from AnyRef

Inherited from Any

Ungrouped