Using HandleError::new() with extractors? #1279
-
I think Axum is awesome! The new documentation on error handling is really good too: error_handling One thing I cannot figure out, is whether HandleError::new() should work
Should I be able to add extractors to handle()?. I have been unable to get this to work. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Yep that is possible. See https://docs.rs/axum/latest/axum/error_handling/index.html#running-extractors-for-error-handling can you post more of your code including the error you get? |
Beta Was this translation helpful? Give feedback.
Yep that is possible. See https://docs.rs/axum/latest/axum/error_handling/index.html#running-extractors-for-error-handling
can you post more of your code including the error you get?