[CONPY-106] Exceptions and MariaDB Error codes Created: 2020-08-14 Updated: 2020-08-16 Resolved: 2020-08-14 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | Generic |
| Affects Version/s: | 1.0.0 |
| Fix Version/s: | 1.0.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Georg Richter | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sqlalchemy | ||
| Issue Links: |
|
||||||||
| Description |
|
Currently exception types are checked via SQLSTATE which isn't accurate. Instead depending on the error number the exception type should be chosen. MariaDB.DataError:
Mariadb.ProgrammingError:
Mariadb.IntegrityError:
Mariadb.OperationError: Mariadb.InternalError |
| Comments |
| Comment by Georg Richter [ 2020-08-14 ] |
|
Fixed rev. e091edd54909f07e18875526debd5231bd444b5c |