All files / src/app/pages/error/server-error server-error.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 171x                                
<div class="errorpage-content col-lg-6 offset-lg-3">
  <h1>{{ 'servererror.page.title' | translate }}</h1>
  <div class="error-text">
    <div [ishServerHtml]="'servererror.page.text' | translate"></div>
    <p class="text-body-secondary" (click)="expand()" (keydown.enter)="expand()" tabindex="0">
      @switch (httpError?.status) { @case (undefined) {
      {{ stringError | translate }}
      } @case (0) { Server timeout } @default { Error code {{ httpError.status }}<br />
      {{ type }}
      } }
    </p>
    @if (expanded) {
    <pre>{{ error | json }}</pre>
    }
  </div>
</div>