In most cases you should not need this method as any errors are reported to the {@link show_debug_console console}
when the {@link debug} property is set to TRUE, or to PHP's error log file (if your environment is
{@link http://www.php.net/manual/en/errorfunc.configuration.php#ini.log-errors configured to do so}) when set to
FALSE.
If, for some reasons, none of the above is available, you can use this method to catch errors.
$db->query('
SELECT
*
FROM
users
WHERE
invalid_column = ?
', array($value)) or die($db->error());