Extracting Error codes #142
Unanswered
anwang2009
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi there, you can access the underlying error by calling source on |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I noticed the possible error kinds are
From reading the codebase, afaict more specific errors such as
tokio_postgres::error::Error
(docs) are swallowed up as std::error::Error in Kind::Connection, so there is no way of extracting error codes. Is that correct?Beta Was this translation helpful? Give feedback.
All reactions