object MediatorError extends MediatorErrorGroup with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MediatorError
- Serializable
- MediatorErrorGroup
- ErrorGroup
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit val errorClass: ErrorClass
- Definition Classes
- ErrorGroup
- val fullClassName: String
- Definition Classes
- ErrorGroup
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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.")
- 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.")
- 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.")
- 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.")