Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package digitalasset
    Definition Classes
    com
  • package canton
    Definition Classes
    digitalasset
  • package domain
    Definition Classes
    canton
  • package sequencing
    Definition Classes
    domain
  • package sequencer
    Definition Classes
    sequencing
  • object EthereumErrors extends EthereumErrorGroup
    Definition Classes
    sequencer
  • object ConfigurationErrors extends ErrorGroup
    Definition Classes
    EthereumErrors
  • object AheadOfHead extends ErrorCode
    Definition Classes
    ConfigurationErrors
    Annotations
    @Explanation("""This warning is logged on startup if the sequencer is configured to only start reading from a block
    |that wasn't mined yet by the blockchain (e.g. sequencer is supposed to start reading from block 500, but
    |the latest block is only 100). This is likely due to a misconfiguration. If this occurs, the sequencer
    |ignores the configured or persisted `blockToReadFrom` and starts reading from the latest block mined by the
    |blockchain (100 in this example).
    |"""
    )
    @Resolution("""This issue frequently occurs when the blockchain is reset but the sequencer database configuration is
    | not updated or the sequencer database (which persists the last block that was read by the sequencer) is not reset.
    | Validate these settings and ensure that the sequencer is still reading from the same blockchain. """
    )
  • Warn

case class Warn(firstBlockToRead: Long, blockchainHead: Long)(implicit loggingContext: ErrorLoggingContext) extends Impl with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Warn
  2. Serializable
  3. Product
  4. Equals
  5. Impl
  6. CantonError
  7. BaseCantonError
  8. BaseError
  9. LocationMixin
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Warn(firstBlockToRead: Long, blockchainHead: Long)(implicit loggingContext: ErrorLoggingContext)

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. def asGrpcError: StatusRuntimeException
    Definition Classes
    CantonError
  5. def asGrpcErrorFromContext(implicit contextualizedErrorLogger: ContextualizedErrorLogger): StatusRuntimeException
    Definition Classes
    BaseError
  6. def asGrpcStatusFromContext(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Status
    Definition Classes
    BaseError
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val blockchainHead: Long
  9. val cause: String

    A human readable string indicating the error

    A human readable string indicating the error

    Definition Classes
    ImplBaseCantonError → BaseError
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  11. implicit val code: ErrorCode

    The error code, usually passed in as implicit where the error class is defined

    The error code, usually passed in as implicit where the error class is defined

    Definition Classes
    ImplBaseCantonError → BaseError
  12. def context: Map[String, String]
    Definition Classes
    BaseError
  13. def definiteAnswerO: Option[Boolean]
    Definition Classes
    BaseError
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. val firstBlockToRead: Long
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val location: Option[String]
    Definition Classes
    LocationMixin
  19. def log(): Unit
    Definition Classes
    CantonError
  20. def logOnCreation: Boolean

    Flag to control if an error should be logged at creation

    Flag to control if an error should be logged at creation

    Generally, we do want to log upon creation, except in the case of "nested" or combined errors, where we just nest the error but don't want it to be logged twice. See com.digitalasset.canton.error.ParentCantonError as an example.

    Definition Classes
    CantonError
  21. def logWithContext(extra: Map[String, String])(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Unit
    Definition Classes
    BaseError
  22. implicit val loggingContext: ErrorLoggingContext

    The logging context obtained when we created the error, usually passed in as implicit via com.digitalasset.canton.logging.NamedLogging

    The logging context obtained when we created the error, usually passed in as implicit via com.digitalasset.canton.logging.NamedLogging

    Definition Classes
    WarnCantonError
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. def resources: Seq[(ErrorResource, String)]
    Definition Classes
    BaseError
  28. def retryable: Option[ErrorCategoryRetry]
    Definition Classes
    BaseError
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. val throwableO: Option[Throwable]
    Definition Classes
    Impl → BaseError
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. 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

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Impl

Inherited from CantonError

Inherited from BaseCantonError

Inherited from BaseError

Inherited from LocationMixin

Inherited from AnyRef

Inherited from Any

Ungrouped