mysql
mysql copied to clipboard
Error code in QueryError
Can't you pass the error code to the QueryError like in http://php.net/manual/de/mysqli.errno.php
Or maybe sth more interoperable with PgSql, like an QueryExecutionError?
Feel free to submit a PR, otherwise I'll put this onto my (very long) to-do list.