Skip to content

Kirby 4.4.1

$database->lastError()

Returns the last db error

$database->lastError(): Throwable|null

Return type

Throwable|null

Parent class

Kirby\Database\Database