class SingleFileComponentError(Exception):
    def __init__(self, message=None):
        self.message = message
        super().__init__(self.message)
/Users/nielsrogge/Documents/python_projecten/diffusers/src/diffusers/loaders/single_file_utils.py