[CONPY-203] Module mariadb.constants.ER for maintaining error codes Created: 2022-05-20 Updated: 2022-07-06 Resolved: 2022-05-25 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | Generic |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.2 |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Gavin D'souza | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Being able to handle specific errors is great with the Exception's "errno". It would be a lot neater if there were constants for this instead of numbers - to promote better readability. ```python |
| Comments |
| Comment by Georg Richter [ 2022-05-25 ] |
|
Added in 1.1.0 (1.1 branch) |