CodeIgniter Forums
How to trap low level database errors? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: How to trap low level database errors? (/thread-25193.html)



How to trap low level database errors? - El Forum - 12-03-2009

[eluser]jv2222[/eluser]
Anyone know a way to trap low level database errors just after... $this->db->query("some query") ...has been called


How to trap low level database errors? - El Forum - 12-03-2009

[eluser]jv2222[/eluser]
Looks like this works $this->db->_error_message()