I'll did this to point out what the issue is about, you are welcome to disagree, or update.
But I need the sql state error code in my project, and the only way to get the code is from the string right now. I think the driver error code is for more "internal" use?
I'll did this to point out what the issue is about, you are welcome to disagree, or update.
But I need the sql state error code in my project, and the only way to get the code is from the string right now. I think the driver error code is for more "internal" use?
But at least, I am more intetessered in the datebase error codes (https://www.postgresql.org/docs/9.4/static/errcodes-appendix.html) when I call getCode() on the exception :-)