What is the meaning of Balls-up?

Something which becomes muddled or botched in some way.

Source: wiktionary.org