def __init__(self, code):
    self.error = f'An error occured. Status: {code}'
    super().__init__(self.error)
def __init__(self, code):
    self.error = f'An error occured. Status: {code}'
    super().__init__(self.error)