Got it wrong (5)
I believe the answer is:
'got it wrong' is the definition.
(to err is to do wrong or go wrong)
This is the entire clue.
(Other definitions for erred that I've seen before include "Gone astray!" , "slipped up" , "Strayed from the straight and narrow" , "Made a mistake, was wrong" , "Went wrong" .)