Skip to content

Kirby 4.4.1

$site->errorPage()

Returns the error page object

$site->errorPage(): Kirby\Cms\Page|null

Return type

Kirby\Cms\Page|null

Parent class

Kirby\Cms\Site

Example

<?= $site->errorPage()->text() ?>