Packages

case class Failure()(implicit loggingContext: ErrorLoggingContext) extends Alarm with TopologyManagerError with Product with Serializable

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

Instance Constructors

  1. new Failure()(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. def asGrpcError(implicit loggingContext: ErrorLoggingContext): StatusRuntimeException
    Definition Classes
    BaseCantonError
  6. def asGrpcError(implicit logger: ContextualizedErrorLogger): StatusRuntimeException
    Definition Classes
    BaseAlarm
  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
    Definition Classes
    AlarmBaseAlarm → 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 location: Option[String]
    Definition Classes
    LocationMixin
  17. def log(): Unit
    Definition Classes
    CantonError
  18. def log()(implicit loggingContext: ErrorLoggingContext): Unit
    Definition Classes
    BaseCantonError
  19. 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
  20. def logWithContext(extra: Map[String, String])(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Unit
    Definition Classes
    BaseError
  21. 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
    FailureCantonError
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. def report()(implicit logger: ContextualizedErrorLogger): Unit

    Report the alarm to the logger.

    Report the alarm to the logger.

    Definition Classes
    BaseAlarm
  27. def reported()(implicit logger: ContextualizedErrorLogger): Failure.this.type

    Reports the alarm to the logger.

    Reports the alarm to the logger.

    returns

    this alarm

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

Inherited from CantonError

Inherited from BaseCantonError

Inherited from Alarm

Inherited from BaseAlarm

Inherited from BaseError

Inherited from LocationMixin

Inherited from AnyRef

Inherited from Any

Ungrouped