Packages

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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonComparableValues
  2. ErrorCode
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class Reject(cause: String)(implicit loggingContext: ContextualizedErrorLogger) extends DamlErrorWithDefiniteAnswer with Product with Serializable

Value Members

  1. val category: ErrorCategory
    Definition Classes
    ErrorCode
  2. implicit val code: ErrorCode
    Definition Classes
    ErrorCode
  3. 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
  4. 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
  5. val id: String
    Definition Classes
    ErrorCode
  6. 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
  7. implicit val parent: ErrorClass
    Definition Classes
    ErrorCode
  8. 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