{{!
  Copyright IBM Corp. 2016, 2025
  SPDX-License-Identifier: BUSL-1.1
}}

{{#if (eq this.model.httpStatus 404)}}
  <NotFound @model={{this.model}} />
{{else}}
  <Page::Header @title={{if (eq this.model.httpStatus 403) "Not authorized" "Error"}} />

  <div class="box is-sideless has-background-white-bis has-text-grey has-text-centered">
    {{#if this.model.message}}
      <p>{{this.model.message}}</p>
    {{/if}}
    {{#each this.model.errors as |error|}}
      <p>{{error}}</p>
    {{/each}}
  </div>
{{/if}}