display_error([$error = ''[, $swap = ''[, $native = FALSE]]])
Parameters:
$error (string) – The error message
$swap (string) – Any “swap” values
$native (bool) – Whether to localize the message Return type:
void Returns:
Displays the DB error screensends the application/views/errors/error_db.php template Return type:
string
Display an error message and stop script execution.
The message is displayed using the application/views/errors/error_db.php template.