Skip to content

Kirby 5.2.3

$exception->getPrevious()

$exception->getPrevious(): Throwable|null

Return types

Throwableornull

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

Parent class

Kirby\Exception\Exception inherited from Exception