summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fixed middleware testsorigin/non-psr-7Arnold Daniels2016-10-291-1/+1
|
* Error handler for uncaught execptionsArnold Daniels2016-10-291-19/+33
|
* Make using Error Handler as PSR-7 middleware optionalArnold Daniels2016-10-284-214/+402
| | | | Allow handling uncaught Exceptions (WIP)
* Scrutinizer Auto-Fixesorigin/scrutinizer-patch-1Scrutinizer Auto-Fixer2016-10-271-6/+5
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Added `onFatalError` methodArnold Daniels2016-10-281-0/+40
| | | | This allows you to set a callback for when the script dies because of a fatal error
* Renamed `errorHandler()` to `handleError()`Arnold Daniels2016-10-271-2/+2
| | | | If the method is named the same as the class, php (still) sees it as a constructor
* Added tests + fixes for `errorHandler()` and `shutdownFunction()` methodArnold Daniels2016-10-271-5/+5
|
* Implemented `alsoLog()`Arnold Daniels2016-10-271-4/+212
| | | | | This will register a global error handler to log warnings and notices. This will register a shutdown function to log fatal errors.
* Initial versionArnold Daniels2016-10-261-0/+243
Includes: - Middleware catching exception and throwable errors - Logging