The application folder has a folder called errors . There are all error filesthat appear when an error occurs.
If a database error occurs , the error_db.php file is displayed in the browser . You can edit it or replace it with your custom file.
Hope this helps.
source
share