code: def make_err(self, errtype, message, original, loc, ln=None, reformat=True, *args, **kwargs):
          
          if ln is None:
              ln = self.adjust(lineno(loc, original))
          errstr, index = getline(loc, original), col(loc, original) - 1
          if reformat:
              errstr, index = self.reformat(errstr, index)
          return errtype(message, errstr, index, ln, *args, **kwargs)
docs: Generate an error of the specified type.