Packages

object Interpreter extends ErrorGroup

Annotations
@Explanation(explanation = "Errors raised during the command interpretation phase of the command submission evaluation.")
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Interpreter
  2. ErrorGroup
  3. AnyRef
  4. 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() @HotSpotIntrinsicCandidate()
  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() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  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() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  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 AuthorizationError extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs if a Daml transaction fails due to an authorization error.
    |An authorization means that the Daml transaction computed a different set of required submitters than
    |you have provided during the submission as `actAs` parties."""
    )
    @Resolution(resolution = "This error type occurs if there is an application error.")
  22. object ContractDoesNotImplementInterface extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs when you try to coerce/use a contract via an interface that it does not implement.""") @Resolution(resolution = "Ensure the contract you are calling does implement the interface you are using to do so. Avoid writing LF/low-level interface implementation classes manually.")
  23. object ContractDoesNotImplementRequiringInterface extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs when you try to create/use a contract that does not implement the requiring interfaces of some other interface that it does implement.""") @Resolution(resolution = "Ensure you implement all required interfaces correctly, and avoid writing LF/low-level interface implementation classes manually.")
  24. object ContractIdComparability extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs when you attempt to compare a global and local contract ID of the same discriminator.""") @Resolution(resolution = "Avoid constructing contract IDs manually.")
  25. object ContractIdInContractKey extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs when a contract key contains a contract ID, which is illegal for hashing reasons.""") @Resolution(resolution = "Ensure your contracts key field cannot contain a contract ID.")
  26. object ContractNotActive extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs if an exercise or fetch happens on a transaction-locally consumed contract.""") @Resolution(resolution = "This error indicates an application error.")
  27. object CreateEmptyContractKeyMaintainers extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs when you try to create a contract that has a key, but with empty maintainers.""") @Resolution(resolution = "Check the definition of the contract key's maintainers, and ensure this list won't be empty given your creation arguments.")
  28. object DisclosedContractKeyHashingError extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs if a user attempts to provide a key hash for a disclosed contract which we have already cached to be different.""") @Resolution(resolution = "Ensure the contract ID and contract payload you have provided in your disclosed contract is correct.")
  29. object FetchEmptyContractKeyMaintainers extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs when you try to fetch a contract by key, but that key would have empty maintainers.""") @Resolution(resolution = "Check the definition of the contract key's maintainers, and ensure this list won't be empty given the contract key you are fetching.")
  30. object GenericInterpretationError extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs if a Daml transaction fails during interpretation.""") @Resolution(resolution = "This error type occurs if there is an application error.")
  31. object InterpretationDevError extends ErrorCode
    Annotations
    @Explanation(explanation = """This error is a catch-all for errors thrown by in-development features, and should never be thrown in production.""") @Resolution(resolution = "See the error message for details of the specific in-development feature error. If this is production, avoid using development features.")
  32. object InterpretationUserError extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs when a user calls abort or error on an LF version before native exceptions were introduced.""") @Resolution(resolution = "Either remove the call to abort, error or perhaps assert, or ensure you are exercising your contract choice as the author expects.")
  33. object InvalidArgumentInterpretationError extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs if a Daml transaction fails during interpretation due to an invalid argument.""") @Resolution(resolution = "This error type occurs if there is an application error.")
  34. object LookupErrors extends ErrorGroup
    Annotations
    @Explanation(explanation = "Errors raised in lookups during the command interpretation phase.")
  35. object NonComparableValues extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs when you attempt to compare two values of different types using the built-in comparison types.""") @Resolution(resolution = "Avoid using the low level comparison build, and instead use the Eq class.")
  36. object TemplatePreconditionViolated extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs when a contract's pre-condition (the ensure clause) is violated on contract creation.""") @Resolution(resolution = "Ensure the contract argument you are passing into your create doesn't violate the conditions of the contract.")
  37. object UnhandledException extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs when a user throws an error and does not catch it with try-catch.""") @Resolution(resolution = "Either your error handling in a choice body is insufficient, or you are using a contract incorrectly.")
  38. object WronglyTypedContract extends ErrorCode
    Annotations
    @Explanation(explanation = """This error occurs when you try to fetch/use a contract in some way with a contract ID that doesn't match the template type on the ledger.""") @Resolution(resolution = "Ensure the contract IDs you are using are of the type we expect on the ledger. Avoid unsafely coercing contract IDs.")

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