What are the different levels of error display in CodeIgniter?

Responsive Ad Header

Question

Grade: Education Subject: Support
What are the different levels of error display in CodeIgniter?
Asked by:
62 Viewed 62 Answers

Answer (62)

Best Answer
(444)
CodeIgniter provides different levels of error display. You can control the level of detail shown using the `CI_LOG_ADDITIONAL_ERRORS` constant in `application/config/config.php`. Possible values are: `CI_LOG_ADDITIONAL_ERRORS_OFF`, `CI_LOG_ADDITIONAL_ERRORS_ERROR`, `CI_LOG_ADDITIONAL_ERRORS_WARNING`, `CI_LOG_ADDITIONAL_ERRORS_NOTICE`, and `CI_LOG_ADDITIONAL_ERRORS_ALL`. Setting it to `CI_LOG_ADDITIONAL_ERRORS_ALL` will display all errors.