Skip to content

Kirby 4.5.0

system.exception

/site/config/config.php
return [
    'hooks' => [
        'system.exception' => function (Throwable $exception) {
            // your code goes here
        }
    ]
]

Parameters

Parameter Type
$exception \Throwable