object NonComparableValues extends ErrorCode
- Annotations
- @Explanation(explanation = """This error occurs when you attempt to compare two values of different types using the built-in comparison types.""") @Resolution(resolution = "Avoid using the low level comparison build, and instead use the Eq class.")
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NonComparableValues
- ErrorCode
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class Reject(cause: String)(implicit loggingContext: ContextualizedErrorLogger) extends DamlErrorWithDefiniteAnswer with Product with Serializable
Value Members
- val category: ErrorCategory
- Definition Classes
- ErrorCode
- implicit val code: ErrorCode
- Definition Classes
- ErrorCode
- def codeStr(correlationId: Option[String]): String
The machine readable error code string, uniquely identifiable by the error id, error category and correlation id.
The machine readable error code string, uniquely identifiable by the error id, error category and correlation id. e.g. NO_DOMAINS_CONNECTED(2,ABC234)
- Definition Classes
- ErrorCode
- def errorConveyanceDocString: Option[String]
The error conveyance doc string provides a statement about the form this error will be returned to the user
The error conveyance doc string provides a statement about the form this error will be returned to the user
- Definition Classes
- ErrorCode
- val id: String
- Definition Classes
- ErrorCode
- def logLevel: Level
Log level of the error code
Log level of the error code
Generally, the log level is defined by the error category. In rare cases, it might be overridden by the error code.
- Definition Classes
- ErrorCode
- implicit val parent: ErrorClass
- Definition Classes
- ErrorCode
- def toMsg(cause: => String, correlationId: Option[String], limit: Option[Int]): String
- returns
message including error category id, error code id, correlation id and cause
- Definition Classes
- ErrorCode