func (iter *Iterator) Err() error {
	var cErr *C.char
	C.rocksdb_iter_get_error(iter.c, &cErr)
	if cErr != nil {
		defer C.free(unsafe.Pointer(cErr))
		return errors.New(C.GoString(cErr))
	}
	return nil
}
// Err returns nil if no errors happened during iteration, or the actual
// error otherwise.
Err returns nil if no errors happened during iteration, or the actual
error otherwise.
// Err returns nil if no errors happened during iteration or the actual // error otherwise .
func (iter *Iterator) Err() error {
	var cErr *C.char
	C.rocksdb_iter_get_error(iter.c, &cErr)
	if cErr != nil {
		defer C.free(unsafe.Pointer(cErr))
		return errors.New(C.GoString(cErr))
	}
	return nil
}
func ( iter * Iterator ) Err ( ) error { var cErr * C . char C . rocksdb_iter_get_error ( iter . c , & cErr ) if cErr != nil { defer C . free ( unsafe . Pointer ( cErr ) ) return errors . New ( C . GoString ( cErr ) ) } return nil }
Err returns nil if no errors happened during iteration, or the actual
error otherwise.
Err returns nil if no errors happened during iteration or the actual error otherwise .