Documentation:ErrorHandler
From TinyMVC
Custom Error Handler
To setup a custom error handler, do the following:
Assuming your error handler class is named My_ErrorHandler:
- copy internal.TinyMVC_ErrorHandler.php from /sysfiles/plugins/interntal.TinyMVC_ErrorHandler.php to /myapp/plugins/internal.My_ErrorHandler.php
- edit the file, rename the class from TinyMVC_ErrorHandler to My_ErrorHandler.
- edit the functionality to your liking
- edit /myapp/configs/application.php, change the error handler to My_ErrorHandler.
