The only error by an official is the assistant not spotting the handball. And if he didn't see it he couldn't give it. Either that or he assumed the referee would give it himself, which he also shouldn't do.
Clattenburg did everything right IMO, or at least not wrong. You could argue that (if he did award advantage) Gomes was unlikely to gain any, but that's more a matter of opinion.