$api->responseForException()
Creates the response array for an exception. Kirby exceptions will have more information
Parameters
Name | Type | Default |
---|---|---|
$e * | Throwable |
– |
Return type
array
Parent class
Kirby\Cms\Api
inherited from Kirby\Api\Api