5.2.5. ytpb.errors

exception ytpb.errors.YtpbError

Bases: Exception

Base Ytpb exception.

exception ytpb.errors.BroadcastStatusError(message: str, status: BroadcastStatus)

Bases: YtpbError

Raised because of ytpb.info.BroadcastStatus.

exception ytpb.errors.InfoExtractError

Bases: YtpbError

Failed to extract a YouTube video information.

exception ytpb.errors.BaseUrlExpiredError

Bases: YtpbError

exception ytpb.errors.CachedItemNotFoundError

Bases: YtpbError

Failed to find an unexpired cached item.

exception ytpb.errors.MaxRetryError(message, response)

Bases: YtpbError

Raised when retry limit has been exceeded.

exception ytpb.errors.FFmpegRunError

Bases: YtpbError

Raised during FFmpeg subprocess call.

exception ytpb.errors.QueryError

Bases: YtpbError

Failed to query streams with format spec.

exception ytpb.errors.BadCommandArgument

Bases: YtpbError

exception ytpb.errors.SequenceLocatingError

Bases: YtpbError

Failed to locate a segment.

exception ytpb.errors.SegmentDownloadError(message: str, sequence: int)

Bases: YtpbError, HTTPError

Failed to download a segment.