handle format string exceptions separately
This commit is contained in:
@@ -18,6 +18,7 @@ Exception
|
||||
| +-- NotFoundError
|
||||
| +-- HttpError
|
||||
+-- NoExtractorError
|
||||
+-- FormatError
|
||||
+-- StopExtraction
|
||||
"""
|
||||
|
||||
@@ -50,5 +51,9 @@ class NoExtractorError(GalleryDLException):
|
||||
"""No extractor can handle the given URL"""
|
||||
|
||||
|
||||
class FormatError(GalleryDLException):
|
||||
"""Error while building output path"""
|
||||
|
||||
|
||||
class StopExtraction(GalleryDLException):
|
||||
"""Extraction should stop"""
|
||||
|
||||
Reference in New Issue
Block a user