Skip to content

Kirby 5.0.1

$site->errorPage()

Returns the error page object

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

Return types

Kirby\Cms\Pageornull

Parent class

Kirby\Cms\Site

Examples

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