-
Notifications
You must be signed in to change notification settings - Fork 213
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(ConfigReader): Add better ServerError support to ConfigReader errors #1152
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1152 +/- ##
==========================================
+ Coverage 88.35% 88.49% +0.13%
==========================================
Files 105 105
Lines 11819 12027 +208
==========================================
+ Hits 10443 10643 +200
- Misses 1376 1384 +8 ☔ View full report in Codecov by Sentry. |
Drafting this because a lot of the changes are actually completely unnecessary. Will rework. |
a7a6169
to
a578ee8
Compare
Action required: PR inactive for 2 days. |
Action required: PR inactive for 2 days. |
Action required: PR inactive for 2 days. |
Action required: PR inactive for 2 days. |
Action required: PR inactive for 2 days. |
Action required: PR inactive for 2 days. |
PR closed after 5 days of inactivity. |
Summary:
This PR adds better
ServerError
support toConfigReader
, like described in #1105. This PR allows us to convert the result ofConfigReader
fn
s as deep as the used libraries let us. Some reworks ofValidationError
,Cause
, and omitting the use ofanyhow::Error
were needed.Issue Reference(s):
Fixes #1105
/claim #1105
Build & Testing:
cargo test
successfully../lint.sh --mode=fix
to fix all linting issues raised by./lint.sh --mode=check
.Checklist:
<type>(<optional scope>): <title>