Browse Source

Add prod error pages @todo

jmontoyaa 8 years ago
parent
commit
914b59cfb5

+ 11 - 0
app/Resources/TwigBundle/views/Exception/error.html.twig

@@ -0,0 +1,11 @@
+{# global error #}
+Error message:
+
+Please edit
+<pre>
+app/Resources/TwigBundle/views/Exception/error.html.twig
+</pre>
+
+Status code: {{ status_code }} <br />
+Status text {{ status_text }} <br />
+Exception message: {{  exception.message }} <br />

+ 7 - 0
app/Resources/TwigBundle/views/Exception/error404.html.twig

@@ -0,0 +1,7 @@
+{# 404 error #}
+<h2>Not found</h2>
+
+Please edit
+<pre>
+app/Resources/TwigBundle/views/Exception/error404.html.twig
+</pre>