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