Packages

object Error extends Serializable

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Error
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class ChoiceGuardFailed(coid: ContractId, templateId: TypeConName, choiceName: ChoiceName, byInterface: Option[TypeConName]) extends Error with Product with Serializable

    A choice guard returned false, invalidating some expectation.

  2. final case class ContractDoesNotImplementInterface(interfaceId: TypeConName, coid: ContractId, templateId: TypeConName) extends Error with Product with Serializable

    We tried to fetch / exercise a contract by interface, but the contract does not implement this interface.

  3. final case class ContractDoesNotImplementRequiringInterface(requiringInterfaceId: TypeConName, requiredInterfaceId: TypeConName, coid: ContractId, templateId: TypeConName) extends Error with Product with Serializable

    We tried to exercise a contract by required interface, but the contract does not implement the requiring interface.

  4. final case class ContractIdComparability(globalCid: V1) extends Error with Product with Serializable
  5. final case class ContractIdInContractKey(key: Value) extends Error with Product with Serializable
  6. final case class ContractKeyNotFound(key: GlobalKey) extends Error with Product with Serializable

    Fetch-by-key failed

  7. final case class ContractKeyNotVisible(coid: ContractId, key: GlobalKey, actAs: Set[Party], readAs: Set[Party], stakeholders: Set[Party]) extends Error with Product with Serializable
  8. final case class ContractNotActive(coid: ContractId, templateId: TypeConName, consumedBy: NodeId) extends Error with Product with Serializable

    A fetch or an exercise on a transaction-local contract that has already been consumed.

  9. final case class ContractNotFound(cid: ContractId) extends Error with Product with Serializable
  10. final case class CreateEmptyContractKeyMaintainers(templateId: TypeConName, arg: Value, key: Value) extends Error with Product with Serializable

    A create with a contract key failed because the list of maintainers was empty

  11. final case class DisclosurePreprocessing(error: DisclosurePreprocessing.Error) extends Error with Product with Serializable
  12. final case class DuplicateContractKey(key: GlobalKey) extends Error with Product with Serializable

    Two contracts with the same key were active at the same time.

    Two contracts with the same key were active at the same time. See com.daml.lf.transaction.Transaction.DuplicateContractKey for more details.

  13. final case class FailedAuthorization(nid: NodeId, fa: ledger.FailedAuthorization) extends Error with Product with Serializable

    There was an authorization failure during execution.

  14. final case class FetchEmptyContractKeyMaintainers(templateId: TypeConName, key: Value) extends Error with Product with Serializable

    A fetch or lookup of a contract key without maintainers

  15. final case class InconsistentContractKey(key: GlobalKey) extends Error with Product with Serializable

    The ledger provided an inconsistent view of a contract key.

    The ledger provided an inconsistent view of a contract key. See com.daml.lf.transaction.Transaction.DuplicateContractKey for more details.

  16. final case class Limit(error: Limit.Error) extends Error with Product with Serializable
  17. final case class TemplatePreconditionViolated(templateId: TypeConName, optLocation: Option[Location], arg: Value) extends Error with Product with Serializable

    Template pre-condition (ensure) evaluated to false and the transaction was aborted.

    Template pre-condition (ensure) evaluated to false and the transaction was aborted. Note that the compiler will throw instead of returning False for code in LF >= 1.14 so this will never be thrown for newer versions.

  18. final case class UnhandledException(exceptionType: Type, value: Value) extends Error with Product with Serializable

    Unhandled exceptions

  19. final case class UserError(message: String) extends Error with Product with Serializable

    User initiated error, via e.g.

    User initiated error, via e.g. 'abort' or 'assert'

  20. final case class WronglyTypedContract(coid: ContractId, expected: TypeConName, actual: TypeConName) extends Error with Product with Serializable

    We tried to fetch / exercise a contract of the wrong type -- see <https://github.com/digital-asset/daml/issues/1005>.

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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. object DisclosurePreprocessing extends Serializable
  20. object InconsistentDisclosureTable
  21. object Limit extends Serializable
  22. case object NonComparableValues extends Error with Product with Serializable

Deprecated Value Members

  1. val ValueExceedsMaxNesting: ValueNesting.type
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use Limit.ValueNesting

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

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped