Skip to content

Kirby 5.2.2

$exception->getKey()

Returns the exception key (error type)

$exception->getKey(): string

Return type

string

This method modifies the existing $exception object it is applied to and returns it again.

Parent class

Kirby\Exception\Exception