class ResponseError(Exception):
    """For throwing in case of a non-200 response status."""
    def __init__(self, *args, code=None, **kwargs):
        self.code = code
        super().__init__(*args, **kwargs)

class ResponseError(Exception):
    """For throwing in case of a non-200 response status."""
    def __init__(self, code=None, *args):
        self.code = code
        super().__init__(code, *args)

Change constructor to be more appropriate
Change constructor to be more appropriate

  class ResponseError(Exception):
      """For throwing in case of a non-200 response status."""
-     def __init__(self, *args, code=None, **kwargs):
+     def __init__(self, code=None, *args):
          self.code = code
-         super().__init__(*args, **kwargs)
+         super().__init__(code, *args)
  
Change constructor to be more appropriate
## Code Before:
class ResponseError(Exception):
    """For throwing in case of a non-200 response status."""
    def __init__(self, *args, code=None, **kwargs):
        self.code = code
        super().__init__(*args, **kwargs)

## Instruction:
Change constructor to be more appropriate
## Code After:
class ResponseError(Exception):
    """For throwing in case of a non-200 response status."""
    def __init__(self, code=None, *args):
        self.code = code
        super().__init__(code, *args)
