| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Plutus.ChainIndex.ChainIndexError
Synopsis
- data ChainIndexError
- = InsertionFailed InsertUtxoFailed
- | RollbackFailed RollbackFailed
- | ResumeNotSupported
- | QueryFailedNoTip
- | BeamEffectError BeamError
- | ToCardanoError ToCardanoError
- | UnsupportedQuery
- | UnsupportedControlOperation
- data InsertUtxoFailed
- data RollbackFailed
- = RollbackNoTip
- | TipMismatch {
- foundTip :: Tip
- targetPoint :: Point
- | OldPointNotFound Point
Documentation
data ChainIndexError Source #
Constructors
| InsertionFailed InsertUtxoFailed | |
| RollbackFailed RollbackFailed | |
| ResumeNotSupported | |
| QueryFailedNoTip | Query failed because the chain index does not have a tip (not synchronised with node) |
| BeamEffectError BeamError | |
| ToCardanoError ToCardanoError | |
| UnsupportedQuery | |
| UnsupportedControlOperation |
Instances
data InsertUtxoFailed Source #
UTXO state could not be inserted into the chain index
Constructors
| DuplicateBlock Tip | Insertion failed as there was already a block with the given number |
| InsertUtxoNoTip | The |
Instances
data RollbackFailed Source #
Reason why the rollback operation failed
Constructors
| RollbackNoTip | Rollback failed because the utxo index had no tip (not synchronised) |
| TipMismatch | Unable to roll back to |
Fields
| |
| OldPointNotFound Point | Unable to find the old tip |