summaryrefslogtreecommitdiffstats
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-254-10/+45
| | | | an implementation.
* Scrutinized codeArnold Daniels2017-01-246-6/+29
|
* Added ErrorHandlerInterfaceArnold Daniels2017-01-242-2/+32
|
* 7c20f113e4990d88e3091a8a02c51f1ccd2f8feeArnold Daniels2017-01-241-1/+1
|
* Revive Jasny HTTP message Response objects before outputting to themArnold Daniels2017-01-241-1/+6
|
* Don't use logErrorTypes property in traits, but use getLoggedErrorTypes()v0.1.1Arnold Daniels2017-01-033-3/+17
|
* Split up ErrorHandler class into traitsArnold Daniels2017-01-036-319/+467
|
* Minor fixArnold Daniels2017-01-031-1/+2
|
* Set protocol version in error responseArnold Daniels2017-01-032-1/+11
|
* Update README.mdArnold Daniels2017-01-031-13/+16
| | | [skip ci]
* Merge pull request #2 from jasny/non-psr-7v0.1.0Arnold Daniels2016-11-218-413/+862
|\ | | | | Make using PSR-7 optional
| * Fixed middleware testsorigin/non-psr-7Arnold Daniels2016-10-293-16/+56
| |
| * Error handler for uncaught execptionsArnold Daniels2016-10-292-31/+209
| |
| * Make using Error Handler as PSR-7 middleware optionalArnold Daniels2016-10-288-407/+638
|/ | | | Allow handling uncaught Exceptions (WIP)
* Merge pull request #1 from jasny/scrutinizer-patch-1Arnold Daniels2016-10-281-6/+5
|\ | | | | Scrutinizer Auto-Fixes
| * 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-282-11/+101
| | | | This allows you to set a callback for when the script dies because of a fatal error
* Renamed `errorHandler()` to `handleError()`Arnold Daniels2016-10-272-9/+9
| | | | 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-272-29/+137
|
* Impl + test for `convertErrorsToExceptions()`Arnold Daniels2016-10-271-12/+40
|
* Implemented `alsoLog()`Arnold Daniels2016-10-273-5/+363
| | | | | This will register a global error handler to log warnings and notices. This will register a shutdown function to log fatal errors.
* Send 2 coverage reports.Arnold Daniels2016-10-272-2/+8
|
* will work with php 5.6Arnold Daniels2016-10-261-1/+1
|
* Initial versionArnold Daniels2016-10-267-10/+495
| | | | | | Includes: - Middleware catching exception and throwable errors - Logging
* Prepare libraryArnold Daniels2016-10-255-2/+176
| | | | | Written README Added project basics
* Initial commitArnold Daniels2016-10-252-0/+23