(self, event_data)
Extends transitions.core.State.enter. Throws a `MachineError` if there is
            no leaving transition from this state and 'accepted' is not in self.tags.
Extends transitions.core.State.enter. Throws a `MachineError` if there is
            no leaving transition from this state and 'accepted' is not in self.tags.
Extends transitions . core . State . enter . Throws a MachineError if there is no leaving transition from this state and accepted is not in self . tags .
def enter(self, event_data):
        """ Extends transitions.core.State.enter. Throws a `MachineError` if there is
            no leaving transition from this state and 'accepted' is not in self.tags.
        """
        if not event_data.machine.get_triggers(self.name) and not self.is_accepted:
            raise MachineError("Error state '{0}' reached!".format(self.name))
        super(Error, self).enter(event_data)
def enter ( self , event_data ) : if not event_data . machine . get_triggers ( self . name ) and not self . is_accepted : raise MachineError ( "Error state '{0}' reached!" . format ( self . name ) ) super ( Error , self ) . enter ( event_data )