final case class GenericCantonRpcError(code: ErrorCode, context: Map[String, String], cause: String, resources: Seq[(ErrorResource, String)], correlationId: Option[String], traceId: Option[String], asGrpcStatus: Status, asGrpcError: StatusRuntimeException) extends RpcError with Product with Serializable
Generic canton error usually produced when an un-contextualized error want to return an error that has context
- Alphabetic
- By Inheritance
- GenericCantonRpcError
- Serializable
- Product
- Equals
- RpcError
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new GenericCantonRpcError(code: ErrorCode, context: Map[String, String], cause: String, resources: Seq[(ErrorResource, String)], correlationId: Option[String], traceId: Option[String], asGrpcStatus: Status, asGrpcError: StatusRuntimeException)
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
- val asGrpcError: StatusRuntimeException
The gRPC status encoded as a StatusRuntimeException
The gRPC status encoded as a StatusRuntimeException
- Definition Classes
- GenericCantonRpcError → RpcError
- val asGrpcStatus: Status
The gRPC status
The gRPC status
- Definition Classes
- GenericCantonRpcError → RpcError
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cause: String
A human readable string indicating the error
A human readable string indicating the error
- Definition Classes
- GenericCantonRpcError → RpcError
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- 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
- GenericCantonRpcError → RpcError
- val context: Map[String, String]
The context (declared fields) of this error
The context (declared fields) of this error
- Definition Classes
- GenericCantonRpcError → RpcError
- val correlationId: Option[String]
The correlationId (e.g.
The correlationId (e.g. submissionId) associated with the request that caused the error
- Definition Classes
- GenericCantonRpcError → RpcError
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val resources: Seq[(ErrorResource, String)]
The resources related to this error
The resources related to this error
- Definition Classes
- GenericCantonRpcError → RpcError
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val traceId: Option[String]
The traceId associated with the TraceContext at error creation
The traceId associated with the TraceContext at error creation
- Definition Classes
- GenericCantonRpcError → RpcError
- 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])