Total Complexity | 1 |
Total Lines | 5 |
Duplicated Lines | 0 % |
1 | class TumdlrException(Exception): |
||
12 | class TumblrDownloadError(TumblrFileError): |
||
13 | def __init__(self, *args, **kwargs): |
||
14 | self.download_url = kwargs.get('download_url') |
||
15 | self.error_message = kwargs.get('error_message') |
||
16 | super().__init__('An error occurred while downloading a file entry from a post') |
||
17 |