JsonResponse::exception()
Renders the error response for a Kirby exception
JsonResponse::exception(Exception $exception): Response
Parameters
| Name | Type | Default |
|---|---|---|
| $exceptionrequired | Kirby\Exception\Exception |
no default value |
Renders the error response for a Kirby exception
JsonResponse::exception(Exception $exception): Response
| Name | Type | Default |
|---|---|---|
| $exceptionrequired | Kirby\Exception\Exception |
no default value |