Skip to content

Using HandleError::new() with extractors? #1279

Answered by davidpdrsn
cameronelliott asked this question in Q&A
Discussion options

You must be logged in to vote

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?

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@cameronelliott
Comment options

@davidpdrsn
Comment options

@cameronelliott
Comment options

@davidpdrsn
Comment options

@cameronelliott
Comment options

Answer selected by davidpdrsn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1278 on August 19, 2022 05:50.