o

com.digitalasset.canton.topology.TopologyManagerError

IncreaseOfLedgerTimeRecordTimeTolerance

object IncreaseOfLedgerTimeRecordTimeTolerance extends ErrorCode

Annotations
@Explanation(explanation = """This error indicates that it has been attempted to increase the ``ledgerTimeRecordTimeTolerance`` domain parameter in an insecure manner.
|Increasing this parameter may disable security checks and can therefore be a security risk.
|"""
)
@Resolution(resolution = """Make sure that the new value of ``ledgerTimeRecordTimeTolerance`` is at most half of the ``mediatorDeduplicationTimeout`` domain parameter.
|
|Use ``myDomain.service.set_ledger_time_record_time_tolerance`` for securely increasing ledgerTimeRecordTimeTolerance.
|
|Alternatively, add the ``force = true`` flag to your command, if security is not a concern for you.
|The security checks will be effective again after twice the new value of ``ledgerTimeRecordTimeTolerance``.
|Using ``force = true`` is safe upon domain bootstrapping.
|"""
)
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IncreaseOfLedgerTimeRecordTimeTolerance
  2. ErrorCode
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class PermanentlyInsecure(newLedgerTimeRecordTimeTolerance: NonNegativeFiniteDuration, mediatorDeduplicationTimeout: NonNegativeFiniteDuration)(implicit loggingContext: ErrorLoggingContext) extends Impl with TopologyManagerError with Product with Serializable
  2. final case class TemporarilyInsecure(oldValue: NonNegativeFiniteDuration, newValue: NonNegativeFiniteDuration)(implicit loggingContext: ErrorLoggingContext) extends Impl with TopologyManagerError with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val category: ErrorCategory
    Definition Classes
    ErrorCode
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. implicit val code: ErrorCode
    Definition Classes
    ErrorCode
  8. 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
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. 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
  12. def exposedViaApi: Boolean

    True if this error may appear on the API

    True if this error may appear on the API

    Attributes
    protected
    Definition Classes
    ErrorCode
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. val id: String
    Definition Classes
    ErrorCode
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. 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
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. implicit val parent: ErrorClass
    Definition Classes
    ErrorCode
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. 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
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from ErrorCode

Inherited from AnyRef

Inherited from Any

Ungrouped