Skip to content

How do I get the error of Option extractor #3546

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

You must be logged in to vote

Use actix_web::Result<T> (or Result<T, E>) instead of Option<T> as the extractor.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by robjtede
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