$database->lastError() Returns the last db error kirby/src/Database/Database.php#L346 $database->lastError(): Throwable Return type Throwable Parent class Kirby\Database\Database