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 17 181x                                  
<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-muted" (click)="expand()" (keydown.enter)="expand()" tabindex="0">
      <ng-container [ngSwitch]="httpError?.status">
        <ng-container *ngSwitchCase="undefined"> {{ stringError | translate }} </ng-container>
        <ng-container *ngSwitchCase="0"> Server timeout </ng-container>
        <ng-container *ngSwitchDefault>
          Error code {{ httpError.status }}<br />
          {{ type }}
        </ng-container>
      </ng-container>
    </p>
    <pre *ngIf="expanded">{{ error | json }}</pre>
  </div>
</div>