Raise an error when an undefined command is entered