Yes it happened to me with my s7 phone due to one of the updates. For some reason I could not go back to the previous update and I even tried to factory reset it and that didn't work either. So I have a perfectly good phone but can't use the camera..
The camera failed issue is common with Samsung phones. If you Google the error message you will find that many models have this problem. They will give you tips on how to fix such as clear cache, factory reset, etc, however none worked for me. I took my phone to ubreakifix, Samsung's vendor, and they couldn't fix it either, therefore I had to send it to Samsung directly for repair and they fixed it and returned phone within a week