Skip to content
Discussion options

You must be logged in to vote

You have to handle the error somehow and return an appropriate response to the client. You can return Result<T, E> if both types implement IntoResponse.

Note this still isn't an "error" in the tower::Service sense since a response is still generated and sent back to the client.

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@davidpdrsn
Comment options

@kellytk
Comment options

@davidpdrsn
Comment options

@kellytk
Comment options

@davidpdrsn
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