More information for DbErr::Query #1422
TheCataliasTNT2k
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Hey @TheCataliasTNT2k, you can get the database specific error code and error message from it. Lines 24 to 55 in f360e79 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Motivation
If you get an
DbErr::Query
Error, it would be great, if you could get more information, likeexecuted query including parameters
and the database error like "Duplication in column foo while inserting"
This can be useful for other
DbErr
types as well...Proposed Solutions
Adding
DbErr::Query::query
andDbErr::Query::response
Beta Was this translation helpful? Give feedback.
All reactions