Skip to content

Kirby 4.5.0

$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() ?>