Custom middleware error type exception #3150
Unanswered
silent-rain
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug Report
Version
cargo tree | grep axum
├── axum v0.7.9
Platform
Linux 6.12.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 19 Dec 2024 21:29:01 +0000 x86_64 GNU/Linux
Description
I have customized two middleware with almost identical structures, and both middleware use BoxError to return errors. At this point, the translation fails.
When I can compile normally using only one middleware in '. layer (layers)', please help me see how to fix errors when using multiple middleware.
Beta Was this translation helpful? Give feedback.
All reactions