$site->errorPage()
Returns the error page object
$site->errorPage(): Kirby\Cms\Page|null
Return types
Kirby\Cms\Page
ornull
This method modifies the existing $site
object it is applied to and returns it again.
Parent class
Examples
<?= $site->errorPage()->text() ?>