{% match kind %}{% when Kind::NotFound %}The URL requested could not be found.{% when Kind::Panic %}The request handler has panicked.{% else %}An error occurred while handling a request.{% endmatch %}
{% match kind %} {% when Kind::Panic %}{{ panic_string }}{% else %}Panic payload unavailable or not a string.{% endmatch %}
{% match panic_location %}{% when Some with (panic_location) %}at {{ panic_location }}
{% else %}{% endmatch %} {% else %} {% endmatch %} {% if let Some(error_message) = error_message %}{{ error_message }}
{% endif %}
{% if !error_data.is_empty() -%}
| # | Description | Structure |
|---|---|---|
| {{ loop.index0 }} | {{ error.description }} |
{% if error.is_cot_error %}cot::Error{% endif %}
{{ error.debug_str }}
|
Backtrace unavailable.
{%- endmatch %} {% endif %}| # | URL | Type | Name |
|---|---|---|---|
| {{ route.index }} | {% if route.path.is_empty() %}<empty>{% else %}{{ route.path }}{% endif %} | {{ route.kind }} | {% if route.name.is_empty() %}<none>{% else %}{{ route.name }}{% endif %} |
{{ request_data.method }}
{{ request_data.url }}
{{ request_data.protocol_version }}
| Header | Value |
|---|---|
| {{ header }} | {{ value }} |
{{ project_config }}