object Interpreter extends ErrorGroup
- Annotations
- @Explanation(explanation = "Errors raised during the command interpretation phase of the command submission evaluation.")
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Interpreter
- ErrorGroup
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit val errorClass: ErrorClass
- Definition Classes
- ErrorGroup
- val fullClassName: String
- Definition Classes
- ErrorGroup
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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.")
- 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.")
- 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.")
- 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.")
- 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.")
- 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.")
- 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.")
- 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.")
- 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.")
- 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.")
- 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.")
- 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.")
- 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.")
- object LookupErrors extends ErrorGroup
- Annotations
- @Explanation(explanation = "Errors raised in lookups during the command interpretation phase.")
- 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.")
- 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.")
- 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.")
- 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.")