Skip to content

Kirby 6.0.0

$site->errorPage()

Returns the error page object

$site->errorPage(): Page|null

Return types

Kirby\Cms\Pageornull

Parent class

Kirby\Cms\Site

Examples

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