NotaryError

sealed class NotaryError

Specifies the cause for notarisation request failure.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Conflict(val txId: SecureHash, val consumedStates: Map<StateRef, StateConsumptionDetails>) : NotaryError

Occurs when one or more input states have already been consumed by another transaction.

Link copied to clipboard
data class General(val cause: Throwable) : NotaryError

Occurs when the notary service encounters an unexpected issue or becomes temporarily unavailable.

Link copied to clipboard

Occurs when the notarisation request signature does not verify for the provided transaction.

Link copied to clipboard
data class TimeWindowInvalid(val currentTime: Instant, val txTimeWindow: TimeWindow) : NotaryError

Occurs when time specified in the TimeWindow command is outside the allowed tolerance.

Link copied to clipboard
data class TransactionInvalid(val cause: Throwable) : NotaryError

Occurs when the provided transaction fails to verify.

Link copied to clipboard

Occurs when the transaction sent for notarisation is assigned to a different notary identity.