src/Context/SQLHandler.php
public function throwExceptionIfErrors($sqlStatement)
    {
        if ((int) $sqlStatement->errorCode()) {
            throw new \Exception(
                print_r($sqlStatement->errorInfo(), true)
            );
        }

        return false;
    }
public function throwExceptionIfErrors($sqlStatement)
    {
        if ((int) $sqlStatement->errorCode()) {
            throw new \Exception(
                print_r($sqlStatement->errorInfo(), true)
            );
        }

        return false;
    }
public function throwExceptionIfErrors ( $ sqlStatement ) { if ( ( int ) $ sqlStatement -> errorCode ( ) ) { throw new \ Exception ( print_r ( $ sqlStatement -> errorInfo ( ) , true ) ) ; } return false ; }
Errors found then throw exception.
Errors found then throw exception .