The Framework Code

twigs/framework/error/500.twig

File List

{% if context.hasadmin %}
    {% include '@content/errorpage.twig' with {heading: 'Internal Error', message: errdata, left: TRUE, raw: TRUE} %}
{% else %}
    {% include '@content/errorpage.twig' with {heading: 'Internal Error', message: 'Sorry, there has been an internal error'} %}
{% endif %}