Yes but how far do you go? Perhaps there was a free kick that should have not have been given, before the wrong decision on the throw in.
I think the main thing here is goals being given when they cross the line! Other than replacing referees with technology then there will always be human error.