Changes between Version 3 and Version 4 of TracDev/Exceptions
- Timestamp:
- Sep 18, 2013, 10:14:24 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracDev/Exceptions
v3 v4 27 27 * [=#Error `Error`] ([source:trunk/trac/db/tests/api.py#/Error trac.db.tests.api]) 28 28 29 This hierarchy seems fairly inconsistent. Consider using the `TracError` base class consistently. 30 31 There also seem to be multiple naming conventions. Consider following PEP:0008#exception-names. 32 33 But changing the existing hierarchy might be difficult without breaking backward compatibility. 34 29 35 == DB Exceptions 30 36 We can catch [pep:0249#exceptions Python DB API exceptions] in a DB-neutral way. (Since Trac 1.0, see #6348.)