plutus-tx-1.39.0.0: Libraries for Plutus Tx and its prelude
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusTx.ErrorCodes

Synopsis

Documentation

plutusPreludeErrorCodesMap BuiltinString String Source #

All error codes used in the plutus prelude associated with a human-readable description.

reconstructCaseErrorBuiltinString Source #

The error happens in TH generation of indexed data

voidIsNotSupportedErrorBuiltinString Source #

Error case of unsafeFromBuiltinData

ratioHasZeroDenominatorErrorBuiltinString Source #

Ratio number can't have a zero denominator

checkHasFailedErrorBuiltinString Source #

check input is False

negativeIndexErrorBuiltinString Source #

PlutusTx.List.!!: negative index

indexTooLargeErrorBuiltinString Source #

PlutusTx.List.!!: index too large

headEmptyListErrorBuiltinString Source #

PlutusTx.List.head: empty list

tailEmptyListErrorBuiltinString Source #

PlutusTx.List.tail: empty list

succVoidBadArgumentErrorBuiltinString Source #

PlutusTx.Enum.().succ: bad argument

predVoidBadArgumentErrorBuiltinString Source #

PlutusTx.Enum.().pred: bad argument

toEnumVoidBadArgumentErrorBuiltinString Source #

PlutusTx.Enum.().toEnum: bad argument

succBoolBadArgumentErrorBuiltinString Source #

PlutusTx.Enum.Bool.succ: bad argument

predBoolBadArgumentErrorBuiltinString Source #

PlutusTx.Enum.Bool.pred: bad argument

toEnumBoolBadArgumentErrorBuiltinString Source #

PlutusTx.Enum.Bool.toEnum: bad argument

succOrderingBadArgumentErrorBuiltinString Source #

PlutusTx.Enum.Ordering.succ: bad argument

predOrderingBadArgumentErrorBuiltinString Source #

PlutusTx.Enum.Ordering.pred: bad argument

toEnumOrderingBadArgumentErrorBuiltinString Source #

PlutusTx.Enum.Ordering.toEnum: bad argument

lastEmptyListErrorBuiltinString Source #

PlutusTx.List.last: empty list

reciprocalOfZeroErrorBuiltinString Source #

PlutusTx.Ratio.recip: reciprocal of zero

builtinListNegativeIndexErrorBuiltinString Source #

PlutusTx.List.indexBuiltinList: negative index

builtinListIndexTooLargeErrorBuiltinString Source #

PlutusTx.List.indexBuiltinList: index too large