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 HandlerError::cause and HandlerError::into_cause #575

Merged
merged 2 commits into from
Nov 6, 2021

Conversation

msrd0
Copy link
Member

@msrd0 msrd0 commented Oct 26, 2021

Fixes #574

@msrd0 msrd0 added this to the 0.7 milestone Oct 26, 2021
@codecov
Copy link

codecov bot commented Oct 26, 2021

Codecov Report

Merging #575 (e982e78) into master (ecc604d) will increase coverage by 0.38%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #575      +/-   ##
==========================================
+ Coverage   85.26%   85.65%   +0.38%     
==========================================
  Files         111      111              
  Lines        5768     5722      -46     
==========================================
- Hits         4918     4901      -17     
+ Misses        850      821      -29     
Impacted Files Coverage Δ
gotham/src/handler/error.rs 66.66% <0.00%> (+1.36%) ⬆️
gotham/src/handler/mod.rs 82.60% <ø> (+3.44%) ⬆️
gotham/src/state/mod.rs 93.44% <ø> (+5.75%) ⬆️
gotham_derive/src/lib.rs 0.00% <ø> (ø)
middleware/template/src/lib.rs 0.00% <ø> (ø)
gotham/src/helpers/http/response.rs 61.90% <0.00%> (-38.10%) ⬇️
examples/hello_world_until/src/main.rs 84.90% <0.00%> (-11.33%) ⬇️
gotham/src/pipeline/single.rs 88.88% <0.00%> (-11.12%) ⬇️
gotham/src/lib.rs 80.76% <0.00%> (-7.24%) ⬇️
gotham/src/test/async_test.rs 67.74% <0.00%> (-5.95%) ⬇️
... and 34 more

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 8ce37b0...e982e78. Read the comment docs.

@msrd0 msrd0 merged commit 7efda5e into gotham-rs:master Nov 6, 2021
@msrd0 msrd0 deleted the handler-error-cause branch November 6, 2021 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose HandlerError inner error
1 participant