I'm following a course in econometrics where we have established that for a linear regression model $$y_i=x_i'\beta+\varepsilon_i$$
If $1/N \sum_{i=1}^N x_i x_i'$ converges to a nonsingular matrix and $E[x_i \varepsilon_i]=0$ OLS will be consistent .
What I would like to know if it can happen that OLS is consistent and $E[x_i \varepsilon_i]\neq 0$ and if so this leads to some kind of degeneracy.
I'm not particular proficient in statistics so I hope I have tagged and formulated the question correctly - otherwise feel free to correct me.