object MediatorError extends MediatorErrorGroup with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MediatorError
  2. Serializable
  3. MediatorErrorGroup
  4. ErrorGroup
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class GenericError(cause: String, id: String, category: ErrorCategory, _v0CodeP: Code = v0.MediatorRejection.Code.Timeout) extends BaseCantonError with Product with Serializable

    Used as a fallback to represent mediator errors coming from a mediator running a higher version.

    Used as a fallback to represent mediator errors coming from a mediator running a higher version. Only used for protocol versions from com.digitalasset.canton.protocol.messages.Verdict.MediatorRejectV1.firstApplicableProtocolVersion to com.digitalasset.canton.protocol.messages.Verdict.MediatorRejectV1.lastApplicableProtocolVersion.

    id

    the id of the error code at the mediator. Only pass documented error code ids here, to avoid confusion.

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. implicit val errorClass: ErrorClass
    Definition Classes
    ErrorGroup
  9. val fullClassName: String
    Definition Classes
    ErrorGroup
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. object InternalError extends ErrorCode
    Annotations
    @Explanation(explanation = "Request processing failed due to a violation of internal invariants. It indicates a bug at the mediator.") @Resolution(resolution = "Contact support.")
  22. object InvalidMessage extends ErrorCode
    Annotations
    @Explanation(explanation = """The mediator has received an invalid message (request or response).
    |The message will be discarded. As a consequence, the underlying request may be rejected.
    |No corruption of the ledger is to be expected.
    |This error is to be expected after a restart or failover of a mediator."""
    )
    @Resolution(resolution = "Address the cause of the error. Let the submitter retry the command.")
  23. object MalformedMessage extends AlarmErrorCode
    Annotations
    @Explanation(explanation = """The mediator has received a malformed message. This may occur due to a bug at the sender of the message.
    |The message will be discarded. As a consequence, the underlying request may be rejected.
    |No corruption of the ledger is to be expected."""
    )
    @Resolution(resolution = "Contact support.")
  24. object Timeout extends ErrorCode
    Annotations
    @Explanation(explanation = """This rejection indicates that the transaction has been rejected by the mediator as it didn't receive enough confirmations within the participant response timeout.
    The field "unresponsiveParties" in the error info contains the comma-separated list of parties that failed to send a response within the participant response timeout. This field is only present since protocol version 6"""
    )
    @Resolution(resolution = "Check that all involved participants are available and not overloaded.")

Deprecated Value Members

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

Inherited from Serializable

Inherited from MediatorErrorGroup

Inherited from ErrorGroup

Inherited from AnyRef

Inherited from Any

Ungrouped