Database transaction error handling |
Thank you for your comment. However I think that it would be quite the same as in my case; moreover for error handling I prefer exceptions. Anyway, your comment made me consider a possibility to wrap the CI database class so that it would use exceptions for error handling. Then the schema would be clean:
PHP Code: try { Thank you anyway. |
Messages In This Thread |
Database transaction error handling - by RastoStric - 02-23-2015, 03:03 AM
RE: Database transaction error handling - by obiron - 02-24-2015, 08:06 AM
RE: Database transaction error handling - by RastoStric - 02-25-2015, 01:19 AM
RE: Database transaction error handling - by Shawn - 01-04-2017, 07:55 PM
|