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