Total Complexity | 1 |
Total Lines | 5 |
Duplicated Lines | 0 % |
1 | class TumdlrException(Exception): |
||
22 | class TumdlrDownloadError(TumdlrFileError): |
||
23 | def __init__(self, *args, **kwargs): |
||
24 | self.download_url = kwargs.get('download_url') |
||
25 | self.error_message = kwargs.get('error_message') |
||
26 | super().__init__('An error occurred while downloading a file entry from a post') |
||
27 |