code: def error(self, s):
          
          print("   ERROR: '%s', %s" % (self.src_id, s), file=sys.stderr)
docs: Prints out an error message to stderr.
          :param s: The error string to print
          :return: None