Commit 5ec300db authored by Arun Roy's avatar Arun Roy

New error message added

parent b82edfef
......@@ -46,7 +46,7 @@ class Automaton():
def process(self, entry):
if entry not in self.input_alphabet:
raise ValueError("Unspecified input, not accepted by this automaton!")
raise ValueError("Unspecified input. The automaton cannot accept this")
self.__curr_state = self.__curr_state.process(entry)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment