Php – How can I add menu and reuse my layout on the custom error page in Slim 4?
I checked the code of the custom error middleware: https://www.slimframework.com/docs/v4/middleware/error-handling.html It is far from obvious how I can use the PhpRenderer (or any renderer compatible with SLIM) with my current layout and menu to add a custom error page. Is…