moo.core.exceptions.UsageError

exception moo.core.exceptions.UsageError(message, data=None)

Raise when the player invoked a verb with bad syntax or missing arguments. The constructor takes the message string verbatim — that string is what the player sees. raise UsageError(f"Usage: {verb_name} <target>") is the conventional pattern.