Skip to content

Kirby 4.4.1

Search::error()

Renders the error response with the provided message

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

Parameters

Name Type Default
$message * string
$code int 404

Return type

array

Parent class

Kirby\Panel\Search inherited from Kirby\Panel\Json