<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def draw_line(self, x1, y1, x2, y2):
 """Draw a line on the current rendering target. Args: x1 (int):
 The x coordinate of the start point. y1 (int):
 The y coordinate of the start point. x2 (int):
 The x coordinate of the end point. y2 (int):
 The y coordinate of the end point. Raises: SDLError: If an error is encountered. """

        check_int_err(lib.SDL_RenderDrawLine(self._ptr, x1, y1, x2, y2))