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 tinymvc_errorhandler.php from /sysfiles/plugins/tinymvc_errorhandler.php to /myapp/plugins/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.
