mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
69ac5d478f
The trouble is that dml driver methods (insert, update, select) are not guaranteed to return the same exception class for various db problems and coding style issues. The recommended practice is to catch dml_exception only.