Packages

case object CannotReadFilesError extends ConfigErrorCode with Product with Serializable

Annotations
@Explanation(explanation = "This error is usually thrown when Canton can't find a given configuration file.") @Resolution(resolution = "Make sure that the path and name of all configuration files is correctly specified. ")
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CannotReadFilesError
  2. Serializable
  3. Product
  4. Equals
  5. ConfigErrorCode
  6. ErrorCode
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class Error(unreadableFiles: Seq[File])(implicit loggingContext: ErrorLoggingContext) extends CantonConfigError 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
    ConfigErrorCodeErrorCode
  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
    ConfigErrorCodeErrorCode
  7. implicit val parent: ErrorClass
    Definition Classes
    ErrorCode
  8. def productElementName(n: Int): String
    Definition Classes
    Product
  9. def productElementNames: Iterator[String]
    Definition Classes
    Product
  10. 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