Welcome Guest, Not a member yet? Register   Sign In
CI4: Handling model errors
#2

Exceptions are unrecoverable errors.

To get any database query errors use the below.

PHP Code:
$error $db->error(); // Has keys 'code' and 'message' 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
CI4: Handling model errors - by rmilecki - 04-17-2020, 03:06 AM
RE: CI4: Handling model errors - by InsiteFX - 04-18-2020, 03:26 AM
RE: CI4: Handling model errors - by joho - 08-21-2023, 01:27 AM
RE: CI4: Handling model errors - by kenjis - 08-21-2023, 06:42 PM
RE: CI4: Handling model errors - by InsiteFX - 08-21-2023, 08:48 PM
RE: CI4: Handling model errors - by joho - 08-22-2023, 12:01 AM
RE: CI4: Handling model errors - by kenjis - 08-22-2023, 01:06 AM
RE: CI4: Handling model errors - by joho - 08-22-2023, 01:18 AM
RE: CI4: Handling model errors - by kenjis - 08-22-2023, 01:35 AM
RE: CI4: Handling model errors - by joho - 08-22-2023, 02:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB