(PHP 5, PHP 7, PHP 8)
The mysqli exception handling class.
$message
$code
$previous
null
The sql state with the error.