Skip to content

Kirby 4.5.0

$api->responseForException()

Creates the response array for an exception. Kirby exceptions will have more information

$api->responseForException(Throwable $e): array

Parameters

Name Type Default
$e * Throwable

Return type

array

Parent class

Kirby\Cms\Api inherited from Kirby\Api\Api