valaw.Exceptions.
RiotAPIResponseError
Raised when the Riot API returns an error response.Full details on response codes can be found in the Riot Games documentation.
InvalidRegion
Raised when an invalid region is passed to a method. Valid regions:ap, br, esports, eu, kr, latam, na
InvalidCluster
Raised when an invalid cluster is passed to the client or a method. Valid clusters:americas, asia, esports, europe
InvalidLocale
Raised when an invalid locale is passed toGET_getContent.
Valid locales: ar-AE, de-DE, en-GB, en-US, es-ES, es-MX, fr-FR, id-ID, it-IT, ja-JP, ko-KR, pl-PL, pt-BR, ru-RU, th-TH, tr-TR, vi-VN, zh-CN, zh-TW
InvalidQueue
Raised when an invalid queue is passed toGET_getRecent or GET_getConsoleRecent.
Valid PC queues: competitive, unrated, spikerush, tournamentmode, deathmatch, onefa, ggteam, hurm
Valid console queues: console_unrated, console_swiftplay, console_hurm, console_competitive, console_deathmatch
InvalidPlatformType
Raised when an invalid platform type is passed to a console method. Valid values:playstation, xbox
InvalidRiotAPIKey
Raised whenNone or an empty string is passed as the API token.

