pyteal icon indicating copy to clipboard operation
pyteal copied to clipboard

Friendlier Error Messsages

Open barnjamin opened this issue 4 years ago • 2 comments
trafficstars

Problem

Couple reports in the discord with confusion around including a call like App.localGetEx return var in the seq. The error message is something like:

raise TealInternalError(msg) from errors[0]
pyteal.TealInternalError: Encountered 1 error when assigning slots to subroutine

This error message makes it difficult to figure out the actual cause

Solution

Not sure how it could be improved

Urgency

No urgency

barnjamin avatar Oct 09 '21 14:10 barnjamin

@barnjamin is this still an issue?

algoanne avatar Sep 16 '22 15:09 algoanne

Yes but maybe less so after improving the traceback on pyteal generated expressions as in MultiValues

barnjamin avatar Sep 16 '22 17:09 barnjamin