Welcome Guest, Not a member yet? Register   Sign In
active record and errors
#1

[eluser]akkumaru[/eluser]
Hi, all,,
I want to know How to catch all kind of possible errors when i'm using Active Record,,

e.g.
How do I know an insertion or update is failed so that I can set up an error handling strategy?
Or How do I know a database error occures while prevent the CI error message to be written to the page, so that I can set up my error handling strategy?

I've tried the try{}catch(Exception $e){} clause,, but it seems it didn't work,,


Messages In This Thread
active record and errors - by El Forum - 12-24-2008, 04:48 AM
active record and errors - by El Forum - 12-25-2008, 05:02 AM
active record and errors - by El Forum - 12-27-2008, 10:15 AM
active record and errors - by El Forum - 12-27-2008, 01:55 PM
active record and errors - by El Forum - 12-29-2008, 02:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB