Skip to content

question: How can I convert mysql errors to HandlerError ? #550

Answered by calavera
antonio-hickey asked this question in Q&A
Discussion options

You must be logged in to vote

You can return in your function anything that implements fmt::Display + fmt::Debug. HandlerError doesn't exist anymore in the stable version of the runtime. If you're using an old version of the runtime, I'd recommend you to update to the latest stable version.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@antonio-hickey
Comment options

@calavera
Comment options

@antonio-hickey
Comment options

@calavera
Comment options

@DontBreakAlex
Comment options

Answer selected by antonio-hickey
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
Converted from issue

This discussion was converted from issue #549 on October 13, 2022 19:32.