{# Custom error page (prod, APP_DEBUG=0) for any status without its own errorNNN.html.twig. Deliberately standalone - it doesn't extend base.html.twig, which reads settings / the user / announcements and may be what failed. Preview in dev: /_error/404, /_error/500, /_error/403. #} {% set _path = app.request.pathInfo|default('/') %} {% set _home = _path starts with '/wfbo' ? '/wfbo' : (_path starts with '/agent' ? '/agent' : '/') %}