Exception and Error Trigger handler
We need to implement and create our own Exception handler and Event trigger handler to deal with every possible error. If the module template is loaded, both handler will use the template system to show the error but only if the debug mode is set to true. If the error trigger get only a warning or an info it will be shown instantly and normally.
-
Exception Handler -
Error Handler