com.digitalasset.canton.domain.topology.DomainTopologySender.TopologyDispatchingInternalError
UnexpectedException
case class UnexpectedException(throwable: Throwable)(implicit loggingContext: ErrorLoggingContext) extends error.CantonError.Impl with Product with Serializable
- Alphabetic
- By Inheritance
- UnexpectedException
- Serializable
- Product
- Equals
- Impl
- CantonError
- BaseCantonError
- BaseError
- LocationMixin
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new UnexpectedException(throwable: Throwable)(implicit loggingContext: ErrorLoggingContext)
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
- def asGrpcError: StatusRuntimeException
- Definition Classes
- CantonError
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cause: String
- Definition Classes
- Impl → BaseError
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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
- Impl → BaseCantonError → BaseError
- def context: Map[String, String]
- Definition Classes
- BaseCantonError → BaseError
- def definiteAnswerO: Option[Boolean]
- Definition Classes
- BaseError
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val location: Option[String]
- Definition Classes
- LocationMixin
- def log(): Unit
- Definition Classes
- CantonError
- 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
- def logWithContext(extra: Map[String, String])(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Unit
- Definition Classes
- BaseError
- 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
- UnexpectedException → CantonError
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def resources: Seq[(ErrorResource, String)]
- Definition Classes
- BaseError
- def retryable: Option[ErrorCategoryRetry]
- Definition Classes
- BaseError
- def rpcStatus(overrideCode: Option[Code] = None)(implicit loggingContext: ErrorLoggingContext): Status
- Definition Classes
- BaseCantonError
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val throwable: Throwable
- val throwableO: Option[Throwable]
- Definition Classes
- Impl → BaseError
- 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])