summaryrefslogtreecommitdiffhomepage
path: root/libs/subliminal_patch/exceptions.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/subliminal_patch/exceptions.py')
-rw-r--r--libs/subliminal_patch/exceptions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/subliminal_patch/exceptions.py b/libs/subliminal_patch/exceptions.py
index 8b931425a..d257520b5 100644
--- a/libs/subliminal_patch/exceptions.py
+++ b/libs/subliminal_patch/exceptions.py
@@ -25,6 +25,12 @@ class IPAddressBlocked(ProviderError):
pass
+class SearchLimitReached(ProviderError):
+ """Exception raised when maximum searches for a provider have been reached."""
+
+ pass
+
+
class MustGetBlacklisted(ProviderError):
def __init__(self, id: str, media_type: str):
super().__init__()