Exceptions

This page contains all the Exceptions raised by the different methods

TwitchError

class TwitchError

Bases : Exception

Description:

This Exception is base exception for all other exceptions raised.

Reference:

tweety.exceptions.TwitchError

Attributes:
message: str

Main Exception Message

response: httpx.Response

Raw Response returned by the Twitch

UserNotFound

class UserNotFound

Bases : TwitchError

Description:

This Exception is raised when queries user is not found.

Reference:

tweety.exceptions.UserNotFound

GameNotFound

class GameNotFound

Bases : TwitchError

Description:

This Exception is raised when queries game is not found.

Reference:

tweety.exceptions.GameNotFound

AccessTokenNotFound

class AccessTokenNotFound

Bases : TwitchError

Description:

This Exception is raised when access token for a m3u8 link not found.

Reference:

tweety.exceptions.AccessTokenNotFound