Liste des Groupes | Revenir à co vms |
On Thu, 10 Jul 2025 19:05:42 -0400, Arne Vajhøj wrote:There are other:If the PHP developer configure the database connection to not throwThat’s a dumb way of doing it. Most of the errors from an SQL call
exceptions because the developer want to check return status, then that
must be respected.
indicate program bugs. The only exception I have come across is
IntegrityError, when used to indicate an attempt to add a record with a
duplicate value for a key that must be unique. That can sometimes be
usefully caught and reported back to the user as an error with the data
that they are trying to enter.
Les messages affichés proviennent d'usenet.