$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.
Returns the exception key (error type)
$exception->getKey(): string
string
This method modifies the existing $exception object it is applied to and returns it again.