mep
This commit is contained in:
parent
e958163a4a
commit
b8a5a1ff58
79 changed files with 15113 additions and 0 deletions
25
templates/error.twig
Normal file
25
templates/error.twig
Normal 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue