당신이 잘못 했어요.

English Translation

You messed up

당신이 잘못 했어요 has a nuance of some kind of wrong doing.
“you made an error” is too vague. It should be “You messed up” or something similar.