View::error() Renders the error view with provided message kirby/src/Panel/View.php#L246 View::error(string $message, int $code = 404): array Parameters Name Type Default $message * string – $code int 404 Return type array Parent class Kirby\Panel\View