{# Error summary partial #}

Errors

{{ error_data.total }} total
{% if error_data.by_endpoint %}
{% for endpoint, count in error_data.by_endpoint.items() %}
{{ endpoint }} {{ count }}
{% endfor %}
{% endif %} {% if error_data.recent %}

Recent Errors

{% for err in error_data.recent %}
{{ err.method }} {{ err.endpoint }} {{ err.status_code or "error" }} {% if err.error_message %}

{{ err.error_message }}

{% endif %} {{ err.called_at }}
{% endfor %}
{% elif error_data.total == 0 %}
No errors in this period.
{% endif %}