Packages

case class Error(member: Member, acked_timestamp: CantonTimestamp, latest_valid_timestamp: CantonTimestamp)(implicit loggingContext: ErrorLoggingContext) extends Alarm with CantonError with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Error
  2. Serializable
  3. Product
  4. Equals
  5. CantonError
  6. Alarm
  7. BaseAlarm
  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(member: Member, acked_timestamp: CantonTimestamp, latest_valid_timestamp: CantonTimestamp)(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. val acked_timestamp: CantonTimestamp
  5. def asGrpcError: StatusRuntimeException
    Definition Classes
    CantonError
  6. def asGrpcError(implicit loggingContext: ErrorLoggingContext): StatusRuntimeException
    Definition Classes
    BaseCantonError
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val cause: String
    Definition Classes
    Alarm → BaseError
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  10. implicit val code: AlarmErrorCode

    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
    AlarmBaseAlarmBaseCantonError → BaseError
  11. def context: Map[String, String]
    Definition Classes
    BaseCantonError → BaseError
  12. def definiteAnswerO: Option[Boolean]
    Definition Classes
    BaseError
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val latest_valid_timestamp: CantonTimestamp
  17. val location: Option[String]
    Definition Classes
    LocationMixin
  18. def log(): Unit
    Definition Classes
    CantonError
  19. def log()(implicit loggingContext: ErrorLoggingContext): Unit
    Definition Classes
    BaseCantonError
  20. 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
  21. def logWithContext(extra: Map[String, String])(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Unit
    Definition Classes
    BaseError
  22. 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
  23. val member: Member
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def productElementNames: Iterator[String]
    Definition Classes
    Product
  28. def report()(implicit loggingContext: ErrorLoggingContext): Unit

    Report the alarm to the logger.

    Report the alarm to the logger.

    Definition Classes
    BaseAlarm
  29. def reported()(implicit loggingContext: ErrorLoggingContext): Error.this.type

    Reports the alarm to the logger.

    Reports the alarm to the logger.

    returns

    this alarm

    Definition Classes
    BaseAlarm
  30. def resources: Seq[(ErrorResource, String)]
    Definition Classes
    BaseError
  31. def retryable: Option[ErrorCategoryRetry]
    Definition Classes
    BaseError
  32. def rpcStatus(overrideCode: Option[Code] = None)(implicit loggingContext: ErrorLoggingContext): Status
    Definition Classes
    BaseCantonError
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. val throwableO: Option[Throwable]
    Definition Classes
    Alarm → BaseError
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. 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 Serializable

Inherited from Product

Inherited from Equals

Inherited from CantonError

Inherited from Alarm

Inherited from BaseAlarm

Inherited from BaseCantonError

Inherited from BaseError

Inherited from LocationMixin

Inherited from AnyRef

Inherited from Any

Ungrouped