(The) Wrong End of the Stick

What does the idiom “(The) Wrong End of the Stick” mean?


To have the wrong idea about something

For example:

“I got the wrong end of the stick, so I showed up at the party dressed to the nines when everyone else was informal.”


This is often used with “get,” as in the example.