Dropdown::error()
Renders the error response with the provided message
Parameters
Name | Type | Default |
---|---|---|
$message * | string |
– |
$code | int |
404 |
Return type
array
Parent class
Kirby\Panel\Dropdown
inherited from Kirby\Panel\Json