diff --git a/plutus-tx/src/PlutusTx/ErrorCodes.hs b/plutus-tx/src/PlutusTx/ErrorCodes.hs index a04cb550f1c..0ab7af0a3c8 100644 --- a/plutus-tx/src/PlutusTx/ErrorCodes.hs +++ b/plutus-tx/src/PlutusTx/ErrorCodes.hs @@ -35,7 +35,7 @@ When writing a new error description please follow existing patterns: -- | All error codes used in the plutus prelude associated with a human-readable description. plutusPreludeErrorCodes :: Map Builtins.BuiltinString String -plutusPreludeErrorCodes = Map.fromDistinctAscList +plutusPreludeErrorCodes = Map.fromList [ ("PT1", "TH Generation of Indexed Data Error") , ("PT2", "PlutusTx.IsData.Class.unsafeFromBuiltinData: Void is not supported") , ("PT3", "PlutusTx.Ratio: zero denominator")