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

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.
Reply


Messages In This Thread
RE: how to implement custom exception management in CodeIgniter 4? - by kilishan - 11-12-2021, 11:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB