This commit is contained in:
lubiana 2025-05-31 21:43:13 +02:00
parent e958163a4a
commit b8a5a1ff58
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
79 changed files with 15113 additions and 0 deletions

25
templates/error.twig Normal file
View file

@ -0,0 +1,25 @@
{% extends "layout.twig" %}
{% block title %}Error {{ status_code }} - {{ parent() }}{% endblock %}
{% block content %}
<div class="error-container">
<h2>Error {{ status_code }}</h2>
<div class="error-message">
<p>{{ error.message }}</p>
</div>
{% if error.trace is defined %}
<div class="error-details">
<h3>Error Details</h3>
<p>File: {{ error.file }} (line {{ error.line }})</p>
<pre>{{ error.trace }}</pre>
</div>
{% endif %}
<div class="error-actions">
<a href="/" class="btn">Return to Dashboard</a>
</div>
</div>
{% endblock %}