Skip to content

Kirby 5.0.4

Dropdown::error()

Renders the error response with the provided message

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

Parameters

Name Type Default
$messagerequired string no default value
$code int 404

Return type

array

Parent class

Kirby\Panel\Dropdown inherited from Kirby\Panel\Json