IntersectMBO / cardano-node

The core component that is used to participate in a Cardano decentralised blockchain.
https://cardano.org
Apache License 2.0
3.05k stars 721 forks source link

Better error messages from plutus #4332

Open CarlosLopezDeLara opened 2 years ago

CarlosLopezDeLara commented 2 years ago

What

Error messages given by CLI should

Limitations: Plutus has limited space so they need to put just an error code. We need:

On this discovery process our goal is:

Why

Cryptic, unclear error messages can lead to waste of time and frustration. Good error messages reduce friction and make the coding experience more enjoyable.

Benefits by persona

Dapp Developers, SPO: Quick recovery from errors, improved satisfaction.

Dependencies

Responsibility of implementing this should be on Plutus team.

gufmar commented 1 year ago

Here too it might makes sense to assign unique error codes, as suggested for node operation errors:

https://github.com/input-output-hk/cardano-node/issues/4331#issuecomment-1317568752