code: public void registerError(Entity entity, NewGTFSErrorType errorType, Object badValue) {
          errorStorage.storeError(NewGTFSError.forEntity(entity, errorType).setBadValue(badValue.toString()));
      }
docs: Store an error that affects a single line of a single table.
  Add a bad value to it.