github.com/emate/nomad@v0.8.2-wo-binpacking/ui/app/templates/application.hbs (about)

     1  {{partial "svg-patterns"}}
     2  {{#unless error}}
     3    {{outlet}}
     4  {{else}}
     5    <div class="error-container">
     6      <div data-test-error class="error-message">
     7        {{#if is500}}
     8          <h1 data-test-error-title class="title is-spaced">Server Error</h1>
     9          <p data-test-error-message class="subtitle">A server error prevented data from being sent to the client.</p>
    10        {{else if is404}}
    11          <h1 data-test-error-title class="title is-spaced">Not Found</h1>
    12          <p data-test-error-message class="subtitle">What you're looking for couldn't be found. It either doesn't exist or you are not authorized to see it.</p>
    13        {{else if is403}}
    14          <h1 data-test-error-title class="title is-spaced">Not Authorized</h1>
    15          {{#if token.secret}}
    16            <p data-test-error-message class="subtitle">Your {{#link-to "settings.tokens" data-test-error-acl-link}}ACL token{{/link-to}} does not provide the required permissions. Contact your administrator if this is an error.</p>
    17          {{else}}
    18            <p data-test-error-message class="subtitle">Provide an {{#link-to "settings.tokens" data-test-error-acl-link}}ACL token{{/link-to}} with requisite permissions to view this.</p>
    19          {{/if}}
    20        {{else}}
    21          <h1 data-test-error-title class="title is-spaced">Error</h1>
    22          <p data-test-error-message class="subtitle">Something went wrong.</p>
    23        {{/if}}
    24        {{#if (eq config.environment "development")}}
    25          <pre class="error-stack-trace"><code>{{errorStr}}</code></pre>
    26        {{/if}}
    27      </div>
    28    </div>
    29  {{/unless}}