Kirby 4.7.2
$redirect->getCode()
Kirby\Panel\Redirect inherited from Exception
Kirby\Panel\Redirect
Exception