corda / net.corda.core.flows / NotaryError

NotaryError

sealed class NotaryError

Specifies the cause for notarisation request failure.

Types

Conflict

data class Conflict : NotaryError

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

General

data class General : NotaryError

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

RequestSignatureInvalid

data class RequestSignatureInvalid : NotaryError

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

TimeWindowInvalid

data class TimeWindowInvalid : NotaryError

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

TransactionInvalid

data class TransactionInvalid : NotaryError

Occurs when the provided transaction fails to verify.

WrongNotary

object WrongNotary : NotaryError

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

Extension Functions

contextLogger

fun Any.contextLogger(): Logger

When called from a companion object, returns the logger for the enclosing class.

Inheritors

Conflict

data class Conflict : NotaryError

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

General

data class General : NotaryError

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

RequestSignatureInvalid

data class RequestSignatureInvalid : NotaryError

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

TimeWindowInvalid

data class TimeWindowInvalid : NotaryError

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

TransactionInvalid

data class TransactionInvalid : NotaryError

Occurs when the provided transaction fails to verify.

WrongNotary

object WrongNotary : NotaryError

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