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
  • package ethereum
    Definition Classes
    sequencer
  • object EthereumErrors extends EthereumErrorGroup
    Definition Classes
    ethereum
  • object ConfigurationErrors extends ErrorGroup
    Definition Classes
    EthereumErrors
  • object AttemptToChangeImmutableValue extends ErrorCode
    Definition Classes
    ConfigurationErrors
    Annotations
    @Explanation("""The sequencer smart contract has detected that a value that is immutable after being set for the first time
    | (either the signing tolerance or the topology manager ID) was attempted to be changed.
    | Most frequently this error occurs during testing when a Canton Ethereum sequencer process without persistence
    | is restarted while pointing to the same smart sequencer contract. An Ethereum sequencer attempts to set the
    | topology manager ID during initialization, however, without persistence the topology manager ID is randomly
    | regenerated on the restart which leads to the sequencer attempting to change the topology manager ID in the
    | sequencer smart contract.
    |"""
    )
    @Resolution("""Deploy a new instance of the sequencer contract (Console command `ethereum.deploy_sequencer_contract`) and configure
    | the Ethereum sequencer to use that instance. If the errors occur because an Ethereum sequencer process is
    | restarted without persistence, deploy a fresh instance of the sequencer contract and configure persistence
    | for restarts.
    |"""
    )
  • SigningTolerance
  • TopologyManagerId

case class TopologyManagerId(msg: String)(implicit loggingContext: ErrorLoggingContext) extends Impl with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TopologyManagerId
  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 TopologyManagerId(msg: String)(implicit loggingContext: ErrorLoggingContext)

Value Members

  1. def asGrpcError: StatusRuntimeException
    Definition Classes
    CantonError
  2. val cause: String
    Definition Classes
    Impl → BaseError
  3. 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
  4. def context: Map[String, String]
    Definition Classes
    BaseCantonError → BaseError
  5. def definiteAnswerO: Option[Boolean]
    Definition Classes
    BaseError
  6. val location: Option[String]
    Definition Classes
    LocationMixin
  7. def log(): Unit
    Definition Classes
    CantonError
  8. 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
  9. def logWithContext(extra: Map[String, String])(implicit contextualizedErrorLogger: ContextualizedErrorLogger): Unit
    Definition Classes
    BaseError
  10. 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
    TopologyManagerIdCantonError
  11. val msg: String
  12. def productElementNames: Iterator[String]
    Definition Classes
    Product
  13. def resources: Seq[(ErrorResource, String)]
    Definition Classes
    BaseError
  14. def retryable: Option[ErrorCategoryRetry]
    Definition Classes
    BaseError
  15. def rpcStatus(overrideCode: Option[Code] = None)(implicit loggingContext: ErrorLoggingContext): Status
    Definition Classes
    BaseCantonError
  16. val throwableO: Option[Throwable]
    Definition Classes
    Impl → BaseError