1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
royalnet/errors.py
Fabio De Simone 47ecd7da1f added PastDateError
this new exception is used when checking if the date specified is in the future for /calendar events
2019-01-03 18:13:15 +01:00

53 lines
656 B
Python

class NotFoundError(Exception):
pass
class AlreadyExistingError(Exception):
pass
class DurationError(Exception):
pass
class InfoNotRetrievedError(Exception):
pass
class FileNotDownloadedError(Exception):
pass
class AlreadyDownloadedError(Exception):
pass
class InvalidConfigError(Exception):
pass
class VideoHasNoName(Exception):
pass
class VideoInfoExtractionFailed(Exception):
pass
class VideoIsPlaylist(Exception):
pass
class VideoInfoUnknown(Exception):
pass
class VideoIsNotReady(Exception):
pass
class PrivateError(Exception):
pass
class PastDateError(Exception):
pass