My game crashes periodically too and I too get that error. The error is just generic because the game shut down improperly. As to why the game crashes? Random tbh.. If you're having it happen consistently I would try reinstalling it, on a different HDD if you can. See what happens from there.
It could have to do with your processor.
I run the game on two different PCs.
One with an i7 processor the other with an i5. The latter sporadically crashes and gives the same message. I noticed it happens the most when in full screen. I mostly use that PC for AFK captures so I leave GTA in a window. It hasn’t crashed that way ever since.