Skip to content

feat: improved error handling

Jan Wennrich requested to merge improved-error-handling into dev

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 reports