Someone fills in your signup form, hits Create account, and gets "Something went wrong. Please try again." They try again and get the same message. Most people leave at this point, and the cause might be tiny, like a phone number with a space in it.
A good error message answers three things: what went wrong, why, and what to do next. "Something went wrong" answers none of them. "Enter a 10 digit phone number, without spaces" answers all three in one line, and the user fixes it in a second.
What separates good error messages from bad ones
Put the message next to the field that caused it, not in a banner at the top of the page. Keep what the user typed so they can edit it instead of starting over. Skip jargon like "Error 500" or "Invalid input". If support needs a code, show it small, under the human sentence.
Watch the tone. "You entered an invalid password" blames the user. "That password doesn't match this email. Try again or reset it" helps them. Go easy on jokes too, because a cute message is charming the first time and annoying the fifth. Don't rely on red alone. Add an icon and clear text so the error is visible to people who have trouble telling colours apart. And don't show errors too early: flagging an email as wrong while someone is still typing it feels hostile.
A quick audit you can do today
Open your product and break it on purpose. Try a short phone number, an email without the @, a declined card and a dropped connection. Read each message as if you'd never seen the product before, and if you wouldn't know what to do next, rewrite it. Then look at where users drop off. The step where the most people leave often has an error message nobody understood.