Error messages for panics in transactions and contracts are not very helpful to end-users.
We need a guide in the docs site to show projects how to write better error messages.
Suggest A Solution
Write a guide for standard contracts, transactions, and scripts to show how to write good error messages. Error messages could contain:
Contract name and function name if coming from a contract
Description of literal error
Description of what high-level reason might be causing the error
Suggestion for fixing it
Write a blog post about it
Write an announcement for discord, forum, twitter, etc
Issue to be solved
Error messages for panics in transactions and contracts are not very helpful to end-users. We need a guide in the docs site to show projects how to write better error messages.
Suggest A Solution
Write a guide for standard contracts, transactions, and scripts to show how to write good error messages. Error messages could contain:
Write a blog post about it
Write an announcement for discord, forum, twitter, etc