DialogResponse::exception()
Renders the error response for a Kirby exception
DialogResponse::exception(Exception $exception): Response
Parameters
| Name | Type | Default |
|---|---|---|
| $exceptionrequired | Kirby\Exception\Exception |
no default value |
Return type
Parent class
Kirby\Panel\Response\DialogResponse
inherited from Kirby\Panel\Response\JsonResponse