plutus-tx-1.0.0.0: Libraries for Plutus Tx and its prelude
Safe HaskellNone
LanguageHaskell2010

PlutusTx.ErrorCodes

Synopsis

Documentation

allErrorCodes :: Map BuiltinString String Source #

A list of all error codes used in the plutus prelude

reconstructCaseError :: BuiltinString Source #

The error happens in TH generation of indexed data

voidIsNotSupportedError :: BuiltinString Source #

Error case of unsafeFromBuiltinData

ratioHasZeroDenominatorError :: BuiltinString Source #

Ratio number can't have a zero denominator

roundDefaultDefnError :: BuiltinString Source #

round got an incorrect input

checkHasFailedError :: BuiltinString Source #

check input is False

negativeIndexError :: BuiltinString Source #

PlutusTx.List.!!: negative index

indexTooLargeError :: BuiltinString Source #

PlutusTx.List.!!: index too large

headEmptyListError :: BuiltinString Source #

PlutusTx.List.head: empty list

tailEmptyListError :: BuiltinString Source #

PlutusTx.List.tail: empty list

succVoidBadArgumentError :: BuiltinString Source #

PlutusTx.Enum.().succ: bad argument

predVoidBadArgumentError :: BuiltinString Source #

PlutusTx.Enum.().pred: bad argument

toEnumVoidBadArgumentError :: BuiltinString Source #

PlutusTx.Enum.().toEnum: bad argument

succBoolBadArgumentError :: BuiltinString Source #

PlutusTx.Enum.Bool.succ: bad argument

predBoolBadArgumentError :: BuiltinString Source #

PlutusTx.Enum.Bool.pred: bad argument

toEnumBoolBadArgumentError :: BuiltinString Source #

PlutusTx.Enum.Bool.toEnum: bad argument

succOrderingBadArgumentError :: BuiltinString Source #

PlutusTx.Enum.Ordering.succ: bad argument

predOrderingBadArgumentError :: BuiltinString Source #

PlutusTx.Enum.Ordering.pred: bad argument

toEnumOrderingBadArgumentError :: BuiltinString Source #

PlutusTx.Enum.Ordering.toEnum: bad argument