<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def send(self, signum):
 """Send the given signal to the running process. If the process is not running a RuntimeError with a message of "No such process" should be emitted. """

        if not isinstance(signum, int):

            raise TypeError(
                "Signals must be given as integers. Got {0}.".format(
                    type(signum),
                ),
            )

        try:

            os.kill(self.pid, signum)

        except OSError as err:

            if "No such process" in err.strerror:

                raise RuntimeError("No such process {0}.".format(self.pid))

            raise err