Welcome Guest, Not a member yet? Register   Sign In
how to implement custom exception management in CodeIgniter 4?
#6

(11-12-2021, 11:16 AM)kilishan Wrote: While that functionality is something I'd like to see expanded on in the framework's future, there is no global custom exception handling. You might be able to attach your own handler during system boot by registering it with set_error_handler but that might cause conflicts with the one that we already register. I'm not 100% sure.

I see that you fixed your immediate error, though. And using try/catch blocks and not relying on a global handler is what I was going to recommend anyway.

I am interested in your opinion about this PRĀ https://github.com/codeigniter4/CodeIgniter4/pull/5355
Reply


Messages In This Thread
RE: how to implement custom exception management in CodeIgniter 4? - by iRedds - 11-19-2021, 09:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB