summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Test chaining error handleHEADv0.2.0origin/masterorigin/HEADmasterArnold Daniels2017-01-251-6/+20
|
* Check if response implements `Jasny\GlobalEnvironmentInterface` rather than ↵Arnold Daniels2017-01-251-7/+36
| | | | an implementation.
* 7c20f113e4990d88e3091a8a02c51f1ccd2f8feeArnold Daniels2017-01-241-1/+1
|
* Split up ErrorHandler class into traitsArnold Daniels2017-01-031-1/+5
|
* Set protocol version in error responseArnold Daniels2017-01-031-0/+9
|
* Fixed middleware testsorigin/non-psr-7Arnold Daniels2016-10-292-15/+55
|
* Error handler for uncaught execptionsArnold Daniels2016-10-291-12/+176
|
* Make using Error Handler as PSR-7 middleware optionalArnold Daniels2016-10-282-147/+180
| | | | Allow handling uncaught Exceptions (WIP)
* Added `onFatalError` methodArnold Daniels2016-10-281-11/+61
| | | | 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-7/+7
| | | | 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-24/+132
|
* Impl + test for `convertErrorsToExceptions()`Arnold Daniels2016-10-271-12/+40
|
* Implemented `alsoLog()`Arnold Daniels2016-10-271-0/+105
| | | | | 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/+242
Includes: - Middleware catching exception and throwable errors - Logging