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