Skip to content

Kirby 4.5.0

$database->lastError()

Returns the last db error

$database->lastError(): Throwable|null

Return type

Throwable|null

Parent class

Kirby\Database\Database