Make Errors More Readable
See original GitHub issueOverview
Provide a simple overview of what you wish to see added. Please include:
- What you are trying to do: I tested a list of instructions(910 LOC). Then got an error :
ERROR: (ArgumentsLengthError) The number of the given arguments do not match what is defined in the ABI.
- Why Ape’s current functionality is inadequate to address your goal: Testing redeployment(specially when you edit 2-3 functions and add new variables) contract can be a little difficult with long list of instructions.
Specification
I suggest making the error messages more readable, for instance: tell user on which line the error occurred. ERROR: (ArgumentsLengthError) The number of the given arguments do not match what is defined in the ABI. Line: 350, Function: contract.price(int(1e18), tokenF)...
Dependencies
Include links to any open issues that must be resolved before this feature can be implemented.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to Write Good Error Messages - UX Planet
An error message should be clear and not ambiguous · Short and meaningful error messages are more understandable · Technical details makes an ......
Read more >Clean Code and the Art of Exception Handling - Toptal
Exception Handling: It's a Good Thing · Always create your own ApplicationError hierarchy · Never rescue Exception · Never rescue more exceptions than...
Read more >Error Messages (GNU make)
Here is a list of the more common errors you might see generated by make , and some information about what they mean...
Read more >Thoughtful Error Handling - Medium
Your error handler is one of your most important security defenses. This blog post is part of a series on ... Make the...
Read more >7 Tips To Improve Your Error Handling In Python - PyBites
Proper error handling can make your Python code simpler, more readable, and idiomatic. Here are 7 tips to help you.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh yes! definitely upodate via
pip install -U ape-vyper
(we are working on a native way to update viaape plugins
)ape plugins add vyper -U
should now work