{% extends "base.html" %} {% block title %}{{ code }} — painfree{% endblock %} {% block body %}

{{ code }}

{# `code` and `message` are the API's own error envelope, rendered as a page. The code is a machine-facing contract and is never translated; the message is the same sentence a client would have been given, so the two halves of this console cannot disagree about what happened. #}

{{ message }}

{% if detail %} {% endif %}
{{ t('error.status') }}{{ status }}
{{ t('error.request_id') }}{{ request_id or '—' }}
{{ t('error.detail') }}
{{ detail | pretty_json }}

{{ t('error.back') }}

{% endblock %}