The errorHandler class suppresses output of custom MyBB error types
#4
It probably makes sense to only check for PHP's inbuilt error types (so as in the second snippet), especially if MyBB errors that should be fatal may be accidentally left ignored without terminating execution.

For MyBB errors specifically, there should be better control with catchable database exceptions, and error handler options - both can be extended if needed.
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply


Messages In This Thread
RE: The errorHandler class suppresses output of custom MyBB error types - by Devilshakerz - 2023-09-24, 06:15 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)