usenetbinary-newsreaderembyseedboxtvdbnzbgetsubtitlewebuiquickboxtraktkodistabletvshowsqnaptautullifanartsickbeardtvseriesplexswizzin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
544 B
22 lines
544 B
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
class Error(Exception):
|
|
"""Base class for exceptions in subliminal"""
|
|
|
|
|
|
class ProviderError(Error):
|
|
"""Exception raised by providers"""
|
|
|
|
|
|
class ConfigurationError(ProviderError):
|
|
"""Exception raised by providers when badly configured"""
|
|
|
|
|
|
class AuthenticationError(ProviderError):
|
|
"""Exception raised by providers when authentication failed"""
|
|
|
|
|
|
class DownloadLimitExceeded(ProviderError):
|
|
"""Exception raised by providers when download limit is exceeded"""
|
|
|