Die Klasse mysqli_sql_exception

(PHP 5, PHP 7, PHP 8)

Einführung

Die MySQLi-Fehlerbehandlungs-Klasse

Klassenbeschreibung

finalclassmysqli_sql_exceptionextendsRuntimeException {
protectedstring$sqlstate = "00000";
protectedstring$message = "";
privatestring$string = "";
protectedint$code;
protectedstring$file = "";
protectedint$line;
privatearray$trace = [];
private?Throwable$previous = null;
publicException::__construct(string$message = "", int$code = 0, ?Throwable$previous = null)
finalpublicException::getCode(): int
finalpublicException::getLine(): int
}

Eigenschaften

sqlstate

Der SQL-Status mit dem Fehler.

Inhaltsverzeichnis

To Top