Replies: 1 comment
-
Until you add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is just an observation, not sure if there is any actionable here
Adding handle_error to error-handling-and-dependency-injection example will cause a compile error
However after adding tower middleware layer, this compiles correctly
Is it expected that handle_error is only used in cases where check_infallible fails to compile? Intuitively I has assumed that handle error should always be added so that we handle all errors and don't swallow any errors.
The compilation error for the first case is also entirely unhelpful
Beta Was this translation helpful? Give feedback.
All reactions