asyncyt.exceptions module¶
- exception asyncyt.exceptions.AsyncYTBase[source]¶
Bases:
ExceptionBase exception for all AsyncYT-related errors.
- exception asyncyt.exceptions.DownloadAlreadyExistsError(download_id: str)[source]¶
Bases:
DownloaderBaseRaised when a download with the given ID already exists.
- exception asyncyt.exceptions.DownloadGotCanceledError(download_id: str)[source]¶
Bases:
DownloaderBaseRaised when a download with the given ID got canceled.
- exception asyncyt.exceptions.DownloadNotFoundError(download_id: str)[source]¶
Bases:
DownloaderBaseRaised when a download with the given ID isn’t found.
- exception asyncyt.exceptions.DownloaderBase[source]¶
Bases:
AsyncYTBaseBase exception for all Downloader-related errors.
- exception asyncyt.exceptions.PlaylistCancelledError(playlist_id: str, completed: int, total: int)[source]¶
Bases:
DownloaderBaseRaised when an in-progress playlist download is cancelled.
- exception asyncyt.exceptions.PlaylistDownloadError(url: str, reason: str)[source]¶
Bases:
DownloaderBaseRaised when a playlist download fails entirely.
- exception asyncyt.exceptions.YtDlpBase[source]¶
Bases:
AsyncYTBaseBase exception for all YTdlp-related errors.
- exception asyncyt.exceptions.YtdlpDownloadError(url: str, error_code: int | None, cmd: List[str], output: List[str])[source]¶
Bases:
YtDlpBase,RuntimeErrorRaised when an error occurs in yt-dlp downloading.
- exception asyncyt.exceptions.YtdlpGetInfoError(url: str, error_code: int | None, output: str)[source]¶
Bases:
YtDlpBase,RuntimeErrorRaised when an error occurs in yt-dlp getting info.