trait CombinedError extends RpcError
Combine several errors into one
This is a rare case but can happen. In some cases, we don't have a single parent error like ParentCantonError, but many of them. This trait can be used for such situations.
Useful for situations with com.digitalasset.canton.util.CheckedT collecting several user errors.
- Alphabetic
- By Inheritance
- CombinedError
- RpcError
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def asGrpcError: StatusRuntimeException
The gRPC status encoded as a StatusRuntimeException
The gRPC status encoded as a StatusRuntimeException
- Definition Classes
- RpcError
- abstract def asGrpcStatus: Status
The gRPC status
The gRPC status
- Definition Classes
- RpcError
- abstract def context: Map[String, String]
The context (declared fields) of this error
The context (declared fields) of this error
- Definition Classes
- RpcError
- abstract def correlationId: Option[String]
The correlationId (e.g.
The correlationId (e.g. submissionId) associated with the request that caused the error
- Definition Classes
- RpcError
- abstract def errors: NonEmpty[Seq[RpcError]]
- abstract def loggingContext: ErrorLoggingContext
- abstract def resources: Seq[(ErrorResource, String)]
The resources related to this error
The resources related to this error
- Definition Classes
- RpcError
- abstract def traceId: Option[String]
The traceId associated with the TraceContext at error creation
The traceId associated with the TraceContext at error creation
- Definition Classes
- RpcError
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def cause: String
A human readable string indicating the error
A human readable string indicating the error
- Definition Classes
- CombinedError → RpcError
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def 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
- CombinedError → RpcError
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- lazy val orderedErrors: NonEmpty[Seq[RpcError]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])