Attributes
- Companion
- class
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TransactionException.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
It's CollectErrors of the UTXOS rule in cardano-ledger (eras/alonzo/impl/src/Cardano/Ledger/Alonzo/Plutus/Evaluate.hs:157-214), spec [FL-10]: the Plutus scripts of the tx cannot be collected with their redeemers, cost models and contexts. A phase-1 failure, whatever isValid says.
It's CollectErrors of the UTXOS rule in cardano-ledger (eras/alonzo/impl/src/Cardano/Ledger/Alonzo/Plutus/Evaluate.hs:157-214), spec [FL-10]: the Plutus scripts of the tx cannot be collected with their redeemers, cost models and contexts. A phase-1 failure, whatever isValid says.
Value parameters
- errors
-
in the order of
collectPlutusScriptsWithContext: the first error last, and after it only theNoRedeemererrors of the later scripts
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
It's ConwayCommitteeHasPreviouslyResigned of the GOVCERT rule in cardano-ledger (eras/conway/impl/src/Cardano/Ledger/Conway/Rules/GovCert.hs:193-199), spec [GC-1], [GC-4]: a committee certificate for a cold credential that resigned.
It's ConwayCommitteeHasPreviouslyResigned of the GOVCERT rule in cardano-ledger (eras/conway/impl/src/Cardano/Ledger/Conway/Rules/GovCert.hs:193-199), spec [GC-1], [GC-4]: a committee certificate for a cold credential that resigned.
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
It's ConwayCommitteeIsUnknown of the GOVCERT rule in cardano-ledger (eras/conway/impl/src/Cardano/Ledger/Conway/Rules/GovCert.hs:200-208), spec [GC-2], [GC-4]: a committee certificate for a cold credential that is not a member of the committee and not added by a pending UpdateCommittee proposal.
It's ConwayCommitteeIsUnknown of the GOVCERT rule in cardano-ledger (eras/conway/impl/src/Cardano/Ledger/Conway/Rules/GovCert.hs:200-208), spec [GC-2], [GC-4]: a committee certificate for a cold credential that is not a member of the committee and not added by a pending UpdateCommittee proposal.
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
It's Babbage.FeeTooSmallUTxO && Alonzo.ScriptsNotPaidUTxO && Babbage.CollateralContainsNonADA && Alonzo.InsufficientCollateral && Babbage.IncorrectTotalCollateralField && Babbage.NoCollateralInputs in cardano-ledger
It's Babbage.FeeTooSmallUTxO && Alonzo.ScriptsNotPaidUTxO && Babbage.CollateralContainsNonADA && Alonzo.InsufficientCollateral && Babbage.IncorrectTotalCollateralField && Babbage.NoCollateralInputs in cardano-ledger
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
A failure of the Conway GOV rule in cardano-ledger (eras/conway/impl/src/Cardano/Ledger/Conway/Rules/Gov.hs:456-643), other than ProposalDepositIncorrect, spec [GV-19], D31. ruleName returns the ledger name of failure.
A failure of the Conway GOV rule in cardano-ledger (eras/conway/impl/src/Cardano/Ledger/Conway/Rules/Gov.hs:456-643), other than ProposalDepositIncorrect, spec [GV-19], D31. ruleName returns the ledger name of failure.
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MetadataException.type
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
It's ValidationTagMismatch (IsValid False) PassedUnexpectedly of the UTXOS rule in cardano-ledger (eras/babbage/impl/src/Cardano/Ledger/Babbage/Rules/Utxos.hs:255-260), spec [FL-9]: a tx with isValid = false whose scripts all pass.
It's ValidationTagMismatch (IsValid False) PassedUnexpectedly of the UTXOS rule in cardano-ledger (eras/babbage/impl/src/Cardano/Ledger/Babbage/Rules/Utxos.hs:255-260), spec [FL-9]: a tx with isValid = false whose scripts all pass.
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Plutus script validation failure with execution logs.
Plutus script validation failure with execution logs.
This exception is thrown when a Plutus script fails validation and the transaction has isValid = true.
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
It's PoolMedataHashTooBig of the POOL rule in cardano-ledger (eras/shelley/impl/src/Cardano/Ledger/Shelley/Rules/Pool.hs:249-254), spec [TX-2]: a pool registration whose metadata hash is longer than a Blake2b-256 hash.
It's PoolMedataHashTooBig of the POOL rule in cardano-ledger (eras/shelley/impl/src/Cardano/Ledger/Shelley/Rules/Pool.hs:249-254), spec [TX-2]: a pool registration whose metadata hash is longer than a Blake2b-256 hash.
Value parameters
- hashSizes
-
the size in bytes of each metadata hash that is too long, by pool
- maxHashSize
-
the longest metadata hash allowed, in bytes
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
It's VRFKeyHashAlreadyRegistered of the POOL rule in cardano-ledger (eras/shelley/impl/src/Cardano/Ledger/Shelley/Rules/Pool.hs:269-271, 283-286), spec [BK-5], [BK-6]: at PV >= 11, a pool registration whose VRF key another pool has, spec D19.
It's VRFKeyHashAlreadyRegistered of the POOL rule in cardano-ledger (eras/shelley/impl/src/Cardano/Ledger/Shelley/Rules/Pool.hs:269-271, 283-286), spec [BK-5], [BK-6]: at PV >= 11, a pool registration whose VRF key another pool has, spec D19.
Value parameters
- poolId
-
the pool of the failed registration
- vrfKeyHash
-
its VRF key
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass TransactionExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
The cardano-ledger predicate-failure constructors that ex stands for, at the level that the Imp tests' injectFailure takes, spec [FL-6]: one name per constructor that the fields of ex show, sorted by ledgerOrder. An exception with no ledger counterpart gives its ruleName.
The cardano-ledger predicate-failure constructors that ex stands for, at the level that the Imp tests' injectFailure takes, spec [FL-6]: one name per constructor that the fields of ex show, sorted by ledgerOrder. An exception with no ledger counterpart gives its ruleName.
Unlike ruleName, which names the Scalus rule and stays stable for scalus.cardano.node.SubmitError.rule, these are the names a Haskell ledger test asserts on, for example FeeTooSmallUTxO or CollectErrors.
The names are those of protocol version 11. Below it the ledger raises IncorrectDepositDELEG for DepositIncorrectDELEG and RefundIncorrectDELEG, and PPViewHashesDontMatch for ScriptIntegrityHashMismatch.
Attributes
Short, stable name for the rule that raised ex — the exception's own name without the Exception suffix, e.g. "ValueNotConservedUTxO", unless the name is the ledger constructor's, e.g. "VRFKeyHashAlreadyRegistered"; a GovException gives the name of its GovFailure case.
Short, stable name for the rule that raised ex — the exception's own name without the Exception suffix, e.g. "ValueNotConservedUTxO", unless the name is the ledger constructor's, e.g. "VRFKeyHashAlreadyRegistered"; a GovException gives the name of its GovFailure case.
Written out as literals rather than derived from getClass.getSimpleName, which Scala.js minification turns into a meaningless short name, or from productPrefix, which MetadataException does not have. The match has no wildcard on purpose: adding a TransactionException without naming it here makes this match non-exhaustive, and the compiler says so, which is what stops the next rule from silently arriving as an anonymous rejection. (A warning, not an error - this build does not turn warnings into errors.)
Used by scalus.cardano.node.SubmitError.fromException to name rejections that do not map onto one of its classified cases.