          return history
  
      def apply_transition(self, StateClass state, name):
          if not self.is_valid(state, name):
              raise ValueError(
                  "Cannot apply transition {name}: invalid for the current state.".format(name=name))
          action = self.lookup_transition(name)
          action.do(state.c, action.label)
  
      cdef int initialize_state(self, StateC* state) nogil:
          pass
 
</s> remove         raise ValueError("Unknown field: (%d)" % field_id)
 </s> add         raise ValueError(Errors.E168.format(field=field_id)) </s> remove         raise ValueError("Can't find module {}".format(repr(module)))
 </s> add         raise ValueError(Errors.E169.format(module=repr(module))) </s> remove                 raise KeyError("Unknown feature: %s" % self.strings[feature])
 </s> add                 raise ValueError(Errors.E167.format(feat=self.strings[feature], feat_id=feature)) </s> remove         raise ValueError("Unknown feature: %s (%d)" % (FEATURE_NAMES.get(feature), feature))
 </s> add         raise ValueError(Errors.E167.format(field=FEATURE_NAMES.get(feature), field_id=feature))
            raise ValueError(Errors.E170.format(name=name))
          return history
  
      def apply_transition(self, StateClass state, name):
          if not self.is_valid(state, name):
            raise ValueError(Errors.E170.format(name=name))
            raise ValueError(Errors.E170.format(name=name))
          action = self.lookup_transition(name)
          action.do(state.c, action.label)
  
      cdef int initialize_state(self, StateC* state) nogil:
          pass
keep keep keep keep replace replace keep keep keep keep keep
 Improve Morphology errors (#4314)

* Improve Morphology errors

* Also clean up some other errors

* Update errors.py 
spacy/syntax/transition_system.pyx