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

Add more spacing to contract error messages #1767

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Conversation

yannham
Copy link
Member

@yannham yannham commented Jan 19, 2024

Closes #1764.

Craming "error: contract broken by ...", a potential addendum for parametric contracts, and the contract's custom error message into the main error label of a contract error proved to be hard to read.

This PR simply introduces some spacing to make it better (mostly new lines and indentation), while keeping the same error structure.

@yannham yannham requested review from jneem and vkleen January 19, 2024 09:50
@github-actions github-actions bot temporarily deployed to pull request January 19, 2024 09:55 Inactive
@github-actions github-actions bot temporarily deployed to pull request January 19, 2024 10:26 Inactive
Craming "error: contract broken by ...", a potential addendum for
parametric contracts, and the contract's custom error message into the
main error label of a contract error proved to be hard to read.

This PR simply introduces some spacing to make it better (mostly new
lines and indentation), while keeping the same error structure.

Co-authored-by: Viktor Kleen <viktor.kleen@tweag.io>
@github-actions github-actions bot temporarily deployed to pull request January 19, 2024 10:53 Inactive
@yannham yannham added this pull request to the merge queue Jan 19, 2024
Merged via the queue into master with commit 7d61228 Jan 19, 2024
5 checks passed
@yannham yannham deleted the error/blame-more-space branch January 19, 2024 11:08
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.

Improve readability of error messages
2 participants