Welcome Guest, Not a member yet? Register   Sign In
Custom Exception & get_instance()
#2

(This post was last modified: 04-18-2017, 08:34 AM by dave friend.)

Will you define "usable 404 errors" please. You clearly have something specific in mind but you don't explain what that is.

Quote:sometimes i need to call show_404() manually which shows the ugly default error from the CI Exception class

Wouldn't extending CI_Exceptions allow you to redefine CI_Exceptions->show_404() and/or CI_Exceptions->show_error() to produce the results you have in mind? If not, why not?
Reply


Messages In This Thread
Custom Exception & get_instance() - by petewulf1 - 04-18-2017, 04:21 AM
RE: Custom Exception & get_instance() - by dave friend - 04-18-2017, 07:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB