Really not much different from using a unique "error" number, and certainly easier to communicate without transposition or other unintentional errors:
Compare:
"The program says 'atrocity' and I don't know what I did wrong!"
vs.
"The program says 'error 567231' and I don't know what I did wrong!"