object MediatorError extends MediatorErrorGroup
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MediatorError
- MediatorErrorGroup
- ErrorGroup
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class GenericError(cause: String, id: String, category: ErrorCategory, _v0CodeP: Code = v0.MediatorRejection.Code.Timeout)(representativeProtocolVersion: RepresentativeProtocolVersion[Verdict]) extends BaseCantonError with MediatorReject 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.
- 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() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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("Request processing failed due to a violation of internal invariants. It indicates a bug at the mediator.") @Resolution("Contact support.")
- object InvalidMessage extends ErrorCode
- Annotations
- @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.""") @Resolution("Address the cause of the error. Let the submitter retry the command.")
- object MalformedMessage extends AlarmErrorCode
- Annotations
- @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("Contact support.")
- object Timeout extends ErrorCode
- Annotations
- @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.""") @Resolution("Check that all involved participants are available and not overloaded.")