def __init__(self, error, location=''):
    'Initialize exception.'
    self.message = error
    super().__init__(f'{error} ({location})')
Initialize exception.
def __init__(self, error, location=):
    
    self.message = error
    super().__init__(f'{error} ({location})')