A classe mysqli_sql_exception

(PHP 5, PHP 7, PHP 8)

Introdução

A classe de manipulação de exceção mysqli.

Resumo da classe

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
}

Propriedades

sqlstate

O estado sql com o erro.

Índice

To Top