EllisLab/CodeIgniter — Issue #1097: Ability to get queries errors
Author: dixy
Created: 2012-03-01 17:50:39+00:00
State: open

Currently it seems we can't get query error message since ```_error_message```and ```_error_number``` are protected methods.
The ability to get error numer and error message is useful to manage errors on unique keys.

A solution could be to make ```_error_message``` and ```_error_number``` public.