Skip to content

Need help implementing my custom error handler #2792

Answered by robjtede
bandrefilipe asked this question in Q&A
Discussion options

You must be logged in to vote

Give this a go, it removes a lot of the lifetime problems and is conceptually simpler.
https://docs.rs/actix-web-lab/0.16.1/actix_web_lab/middleware/fn.from_fn.html

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bandrefilipe
Comment options

Answer selected by bandrefilipe
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