$database→errorInfo()
Fetch extended error information associated with the last operation on the database handle
Usage
$array = $database->errorInfo();
Return value
array
$database methods and properties
API reference based on ProcessWire core version 3.0.251