$duplicateException->getKey()
Returns the exception key (error type)
$duplicateException->getKey(): string
Return type
string
This method modifies the existing $duplicateexception
object it is applied to and returns it again.
Parent class
Kirby\Exception\DuplicateException
inherited from Kirby\Exception\Exception