$exception->getKey() Returns the exception key (error type) kirby/src/Exception/Exception.php#L169 $exception->getKey(): string Return type string Parent class Kirby\Exception\Exception