Skip to content

Responder Trait for diesel::result::Error not satisfied #2163

Discussion options

You must be logged in to vote

To close this discussion: Turns out what I needed to do is manually implement the Responder-trait for each of the Errors:

  1. http://fredrik.anderzon.se/2017/02/05/custom-error-types-in-rust-and-the-question-mark-operator/
  2. https://stuarth.github.io/rocket-error-handling/

Replies: 3 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
@Glitchy-Tozier
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Glitchy-Tozier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants