$duplicateException->getPrevious()
$duplicateException->getPrevious(): Throwable|null
Return types
Throwableornull
This method modifies the existing $duplicateexception object it is applied to and returns it again.
Parent class
Kirby\Exception\DuplicateException
inherited from Exception