question: How can I convert mysql errors to HandlerError ?
#550
Answered
by
calavera
antonio-hickey
asked this question in
Q&A
-
|
Hey all, sorry in advance for putting a question in issues, but I'm having trouble converting error's from mysql crate to The mysql crate docs has this: I tried this with no luck: Any help is appreciated thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
calavera
Oct 13, 2022
Replies: 1 comment 5 replies
-
|
You can return in your function anything that implements |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
antonio-hickey
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can return in your function anything that implements
fmt::Display + fmt::Debug.HandlerErrordoesn'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.