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

chore: simplify error formatting #845

Merged
merged 12 commits into from
Sep 23, 2021

Conversation

EverlastingBugstopper
Copy link
Contributor

  • fix suggestion indentation to 8 spaces instead of
    determining its length based on the length of the error descriptor

  • don't double-print reqwest::Error root causes

Co-authored-by: Jesse Rosenberger <git@jro.cc>
Co-authored-by: Jesse Rosenberger <git@jro.cc>
- cleans up request errors by properly assigning codes and suggestions
- local import for backoff crate
- const the cfg!(test) check
- fix suggestion indentation to 8 spaces instead of
  determining its length based on the length of the error descriptor

- don't double-print reqwest::Error root causes
Base automatically changed from avery/configure-timeout to main September 23, 2021 20:55
@EverlastingBugstopper EverlastingBugstopper merged commit c5d0ef0 into main Sep 23, 2021
@EverlastingBugstopper EverlastingBugstopper deleted the avery/better-error-formats branch September 23, 2021 21: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.

1 participant