final case class GenericErrorCategory(grpcCode: Option[Code], logLevel: Level, retryable: Option[ErrorCategoryRetry], securitySensitive: Boolean, asInt: Int, rank: Int) extends ErrorCategoryImpl with ErrorCategory with Product with Serializable
Generic error category class meant to be used as a data container for information deserialized from gRPC statuses (see com.daml.error.utils.DeserializedCantonError).
Note: Do NOT use this class for adding error category information to error code instances but instead re-use existing ones or define new ones (see ErrorCategory.all)
- Alphabetic
 - By Inheritance
 
- GenericErrorCategory
 - ErrorCategory
 - Serializable
 - Product
 - Equals
 - ErrorCategoryImpl
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - Protected
 
Instance Constructors
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
 
 -    val asInt: Int
Int representation of this error category
Int representation of this error category
- Definition Classes
 - GenericErrorCategory → ErrorCategory → ErrorCategoryImpl
 
 -    def clone(): AnyRef
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
 
 -   final  def eq(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def getClass(): Class[_ <: AnyRef]
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native() @IntrinsicCandidate()
 
 -    val grpcCode: Option[Code]
The Grpc code use to signal this error (in case it is signalled via API)
The Grpc code use to signal this error (in case it is signalled via API)
- Definition Classes
 - GenericErrorCategory → ErrorCategory → ErrorCategoryImpl
 
 -   final  def isInstanceOf[T0]: Boolean
- Definition Classes
 - Any
 
 -    val logLevel: Level
The log level used to log this error on the server side
The log level used to log this error on the server side
- Definition Classes
 - GenericErrorCategory → ErrorCategory → ErrorCategoryImpl
 
 -   final  def ne(arg0: AnyRef): Boolean
- Definition Classes
 - AnyRef
 
 -   final  def notify(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @native() @IntrinsicCandidate()
 
 -   final  def notifyAll(): Unit
- Definition Classes
 - AnyRef
 - Annotations
 - @native() @IntrinsicCandidate()
 
 -    def productElementNames: Iterator[String]
- Definition Classes
 - Product
 
 -    val rank: Int
Rank used to order severity (internal only)
Rank used to order severity (internal only)
- Definition Classes
 - GenericErrorCategory → ErrorCategory → ErrorCategoryImpl
 
 -    val retryable: Option[ErrorCategoryRetry]
Default retryability information for this error category
Default retryability information for this error category
- Definition Classes
 - GenericErrorCategory → ErrorCategory → ErrorCategoryImpl
 
 -    val securitySensitive: Boolean
If true, the event is security sensitive and error details should not be emitted on the api
If true, the event is security sensitive and error details should not be emitted on the api
- Definition Classes
 - GenericErrorCategory → ErrorCategory → ErrorCategoryImpl
 
 -   final  def synchronized[T0](arg0: => T0): T0
- Definition Classes
 - AnyRef
 
 -   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])