Some refactoring of the error message and code.
Some refactoring of the error message and code.

feend78/evennia,feend78/evennia,jamesbeebop/evennia,feend78/evennia,feend78/evennia,jamesbeebop/evennia,jamesbeebop/evennia