/
error.hbs
34 lines (32 loc) · 1.08 KB
/
error.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{{!< default}}
{{! The main content area }}
<main class="content" role="main">
<section class="error-content error-404 js-error-container inner">
<section class="error-details">
<figure class="error-image">
</figure>
<section class="error-message">
<h1 class="error-description">{{message}}</h1>
<h3 class="error-code">{{statusCode}}</h3>
<p style="text-align: center;">
<a class="error-goto-home" href="/">←</a>
</p>
</section>
</section>
</section>
{{#if stack}}
<section class="error-stack inner">
<h3>Stack Trace</h3>
<p><strong>{{message}}</strong></p>
<ul class="error-stack-list">
{{#foreach stack}}
<li>
at
{{#if function}}<em class="error-stack-function">{{function}}</em>{{/if}}
<span class="error-stack-file">({{at}})</span>
</li>
{{/foreach}}
</ul>
</section>
{{/if}}
</main>