Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ux: reverse order in which exceptions are reported #2838

Merged
merged 1 commit into from
May 4, 2022

Conversation

charles-cooper
Copy link
Member

this commit reverses the order in which multiple exceptions are
reported. this is a usability issue because sometimes when exceptions
cascade, the first error is the most meaningful (other errors depend on
the first error being fixed).

What I did

How I did it

How to verify it

Commit message

Commit message for the final, squashed PR. (Optional, but reviewers will appreciate it! Please see our commit message style guide for what we would ideally like to see in a commit message.)

Description for the changelog

Cute Animal Picture

image

this commit reverses the order in which multiple exceptions are
reported. this is a usability issue because sometimes when exceptions
cascade, the first error is the most meaningful (other errors depend on
the first error being fixed).
@codecov-commenter
Copy link

codecov-commenter commented May 4, 2022

Codecov Report

Merging #2838 (46dc847) into master (46ec802) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2838   +/-   ##
=======================================
  Coverage   87.37%   87.37%           
=======================================
  Files          94       94           
  Lines       10054    10054           
  Branches     2490     2490           
=======================================
  Hits         8785     8785           
  Misses        802      802           
  Partials      467      467           
Impacted Files Coverage Δ
vyper/exceptions.py 94.49% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 46ec802...46dc847. Read the comment docs.

@charles-cooper charles-cooper enabled auto-merge (squash) May 4, 2022 20:47
@charles-cooper charles-cooper merged commit df2da62 into vyperlang:master May 4, 2022
@charles-cooper charles-cooper deleted the reverse_exceptions branch May 4, 2022 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants