def __init__(self, item):
    'Instantiate super class with passed message with passed in item.'
    self.message = (item + ' is not a valid domain in findcdn.main()')
    super().__init__(self.message)
Instantiate super class with passed message with passed in item.
def __init__(self, item):
    
    self.message = (item + ' is not a valid domain in findcdn.main()')
    super().__init__(self.message)