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