Exception Details
{% if data.has_exception %}
{% if data.is_python_exception %}
Python Exception
{{ data.exception.class }}: {{ data.exception.message }}
In {{ data.exception.file }} line {{ data.exception.line }}
Stack Trace
{{ data.exception.trace }}
{% elif data.is_http_error %}
HTTP Error
{{ data.exception.class }}: {{ data.exception.message }}
{{ data.exception.method }} {{ data.exception.path }}
{% if data.exception.client_ip %}
from {{ data.exception.client_ip }}
{% endif %}
Request Details
Status Code |
{{ data.status_code }}
|
Method |
{{ data.exception.method }} |
URL |
{{ data.exception.url }} |
Path |
{{ data.exception.path }} |
{% if data.exception.user_agent %}
User Agent |
{{ data.exception.user_agent }} |
{% endif %} {% if data.exception.referer %}
Referer |
{{ data.exception.referer }} |
{% endif %}
Client IP |
{{ data.exception.client_ip }} |
💡 Possible Solutions
{% if data.status_code == 404 %}
- Check if the route is properly defined in your controller
- Verify the URL pattern matches your route decorator
- Ensure the controller is registered and discoverable
- Check for typos in the URL path
{% elif data.status_code == 500 %}
- Check application logs for detailed error information
- Verify database connectivity if applicable
- Check for missing dependencies or configuration
- Review recent code changes that might cause issues
{% elif data.status_code == 405 %}
-
Check if the HTTP method (GET, POST, etc.) is allowed for this route
- Verify the route decorator includes the correct methods
- Ensure the form method matches the route configuration
{% endif %}
{% endif %} {% else %}
✅ No exception was thrown during this request.
{% endif %}