> "how to predict that it may happen".
If you mean predict that it's going to happen before you see the error
for the first time, you basically can't. Even if it were in the docs,
the typical developer won't know that the limitation exists until
encountering it in the wild for the first time