Skip to content

How to custom extractors error response? #354

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

You must be logged in to vote

I don't quite follow what you mean. JsonRejection is an enum so you can match on each variant and handle the case. Similarly to whats shown here.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Oodachi
Comment options

@Svenskunganka
Comment options

@Oodachi
Comment options

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