Enable mapping h2
errors to correct Status
codes.
#394
Labels
A-tonic
C-enhancement
Category: New feature or request
E-easy
Call for participation: Experience needed to fix: Easy / not much
E-help-wanted
Call for participation: Help is requested to fix this issue.
Milestone
We currently have this code https://github.com/hyperium/tonic/blob/master/tonic/src/status.rs#L344 which maps
h2::Error
into properCode
's. We should test and ensure that if the user enables thetransport
feature we can downcast the errors intoh2
variants and mapping them to correct status codes.The text was updated successfully, but these errors were encountered: