Improved error handling of 404 or 401 tickets.
This commit is contained in:
parent
34232f6117
commit
8a885f22ab
3 changed files with 13 additions and 0 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
<div class="main flex">
|
||||||
|
<h1><%- @T('Error') %></h1>
|
||||||
|
<p><%- @T('Status Code') %>: <%= @status %></p>
|
||||||
|
<p><%= @detail %></p>
|
||||||
|
</div>
|
|
@ -0,0 +1,4 @@
|
||||||
|
<div class="main flex">
|
||||||
|
<h1><%- @T('Not Found') %></h1>
|
||||||
|
<p><%- @T('Sorry, unable to find this ressource.') %></p>
|
||||||
|
</div>
|
|
@ -0,0 +1,4 @@
|
||||||
|
<div class="main flex">
|
||||||
|
<h1><%- @T('Unauthorized') %></h1>
|
||||||
|
<p><%- @T('Sorry, you are not allowed to access this ressource.') %></p>
|
||||||
|
</div>
|
Loading…
Reference in a new issue