Skip to content

feat: improved error handling

Jan Wennrich schlägt vor, improved-error-handling in dev zu mergen.

These changes make quiqqer/rest return proper response codes for 404 and 405 responses by default.
Previously error code 500 was returned.

Furthermore the Slim ErrorHandler middleware gets exposed. This allows third parties to add their own error handlers.
Previously this was not possible because the default ErrorHandler of this package overwrote all error handlers.

Please take a look at my changes and maybe improve them.

Merge Request-Berichte