Documentation Home
Connectors and APIs Manual
Download this Manual

Connectors and APIs Manual  /  ...  /  The mysqli_sql_exception class

8.3.14 The mysqli_sql_exception class

Copyright 1997-2019 the PHP Documentation Group.

The mysqli exception handling class.

 mysqli_sql_exception {
mysqli_sql_exception, extends RuntimeException Properties  protected string sqlstate ;
Inherited properties  protected string message ;
  protected int code ;
  protected string file ;
  protected int line ;
}

sqlstate

The sql state with the error.