Packages

case class Error(cause: String)(implicit loggingContext: ErrorLoggingContext) extends Impl with DomainRegistryError with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Error
  2. DomainRegistryError
  3. Serializable
  4. Product
  5. Equals
  6. Impl
  7. CantonError
  8. BaseCantonError
  9. BaseError
  10. LocationMixin
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Error(cause: String)(implicit loggingContext: ErrorLoggingContext)

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. def asGrpcError: StatusRuntimeException
    Definition Classes
    CantonError
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val cause: String
    Definition Classes
    ErrorImpl → BaseError
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. implicit val code: ErrorCode

    The error code, usually passed in as implicit where the error class is defined

    The error code, usually passed in as implicit where the error class is defined

    Definition Classes
    ImplBaseCantonError → BaseError
  9. def context: Map[String, String]
    Definition Classes
    BaseCantonError → BaseError
  10. def definiteAnswerO: Option[Boolean]
    Definition Classes
    BaseError
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val location: Option[String]
    Definition Classes
    LocationMixin
  15. def log(): Unit
    Definition Classes
    CantonError
  16. def logOnCreation: Boolean

    Flag to control if an error should be logged at creation

    Flag to control if an error should be logged at creation

    Generally, we do want to log upon creation, except in the case of "nested" or combined errors, where we just nest the error but don't want it to be logged twice. See com.digitalasset.canton.error.ParentCantonError as an example.

    Definition Classes
    CantonError
  17. def logWithContext(extra: Map[String, String])(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Unit
    Definition Classes
    BaseError
  18. implicit val loggingContext: ErrorLoggingContext

    The logging context obtained when we created the error, usually passed in as implicit via com.digitalasset.canton.logging.NamedLogging

    The logging context obtained when we created the error, usually passed in as implicit via com.digitalasset.canton.logging.NamedLogging

    Definition Classes
    ErrorCantonError
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. def resources: Seq[(ErrorResource, String)]
    Definition Classes
    BaseError
  24. def retryable: Option[ErrorCategoryRetry]
    Definition Classes
    BaseError
  25. def rpcStatus(overrideCode: Option[Code] = None)(implicit loggingContext: ErrorLoggingContext): Status
    Definition Classes
    BaseCantonError
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. val throwableO: Option[Throwable]
    Definition Classes
    Impl → BaseError
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from DomainRegistryError

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Impl

Inherited from CantonError

Inherited from BaseCantonError

Inherited from BaseError

Inherited from LocationMixin

Inherited from AnyRef

Inherited from Any

Ungrouped