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