Error

<sw-error>

ready
Renders a error page.

Usage

Loading...
<sw-error :errorObject="{ message: 'Could not load the page' }">
</sw-error>

Component properties

Property name Type Default
errorObject Object
routerLink Object
LinkText String

Methods

Method name Parameters
createdComponent No parameters

Imports

  • ./sw-error.scss
  • ./sw-error.html.twig

SASS variables

Variable name Value
$sw-error-background-stack $color-light-gray ($color-gray-100)
$sw-error-radius-stack $border-radius-default (4px)
$sw-error-color $color-gutenberg ($color-darkgray-200)
$sw-error-font-size-large $font-size-large (18px)

Twig blocks

  • sw_error_illustration
  • sw_error_status_code
  • sw_error_message
  • sw_error_stack
  • sw_error_link
  • sw_error_contend
  • sw_error

Slots

  • default