Zend_Db_Statement_Mysqli::errorInfo PHP Method

errorInfo() public method

Retrieves an array of error information, if any, associated with the last operation on the statement handle.
public errorInfo ( ) : array
return array
    public function errorInfo()
    {
        if (!$this->_stmt) {
            return false;
        }
        return array(substr($this->_stmt->sqlstate, 0, 5), $this->_stmt->errno, $this->_stmt->error);
    }