Skip to content

Kirby 4.5.0

View::error()

Renders the error view with provided message

View::error(string $message, int $code = 404)

Parameters

Name Type Default
$message * string
$code int 404

Parent class

Kirby\Panel\View