🔷
Pyot Documentation
  • Pyot Documentation
  • Cores
    • Installation
    • Configuration
    • Objects
    • Concurrency
    • Resources
    • Exceptions
    • Warnings
  • Examples
    • Single File
    • Multi Root
    • Module Based
  • Pipeline
    • Expirations
    • Handler
    • Object
    • Token
  • Stores
    • CDragon
    • DDragon
    • DiskCache
    • DjangoCache
    • MerakiCDN
    • MongoDB
    • Omnistone
    • RedisCache
    • RiotAPI
  • Limiters
    • MemoryLimiter
    • RedisLimiter
  • Models
    • League of Legends
      • Champion
      • Championmastery
      • Championrotation
      • Clash
      • Item
      • League
      • Match
      • Merakichampion
      • Merakiitem
      • Profileicon
      • Rune
      • Spectator
      • Spell
      • Status
      • Summoner
      • Thirdpartycode
      • Tournament
    • Legends of Runeterra
      • Card
      • Match
      • Ranked
      • Status
    • Riot Services
      • Account
    • Teamfight Tactics
      • Champion
      • Item
      • League
      • Match
      • Profileicon
      • Summoner
      • Thirdpartycode
      • Trait
    • Valorant
      • Content
      • Match
      • Ranked
      • Status
  • Utils
    • LoL
      • Cdragon
      • Champion
      • Routing
    • LoR
      • Cards
    • Tft
      • Cdragon
      • Routing
    • Aiohttp
    • Copy
    • Functools
    • Importlib
    • Itertools
    • Logging
    • Nullsafe
    • Safejson
    • Sync
    • Text
    • Threading
  • Integrations
    • Django
    • FastAPI
    • Celery
  • Changelog
    • 5.x.x
    • 6.x.x
Powered by GitBook
On this page
  • class PyotException
  • class NotFindable
  • class SessionNotFound
  • class DecodeError
  • class NoContent
  • class NotFound
  • class MethodNotAllowed
  • class ServerError
  • class RateLimited
  • class Forbidden
  • class Unauthorized
  • class BadRequest
  • class Timeout
  • class UnidentifiedResponse
  1. Cores

Exceptions

List of exceptions that Pyot uses.

Module: pyot.core.exceptions

class PyotException

Extends: Exception

Base Pyot exception class.

class NotFindable

Extends: PyotException

Message: [600] Pipeline token matching pair not found

class SessionNotFound

Extends: PyotException

Message: [601] Session Not Found.

class DecodeError

Extends: PyotException

Message: [602] AioHttp took too long to decode the response.

class NoContent

Extends: PyotException

Message: [204] No Content.

class NotFound

Extends: PyotException

Message: [404] Data Not Found.

class MethodNotAllowed

Extends: PyotException

Message: [405] Method Not Allowed.

class ServerError

Extends: PyotException

Messages: Mapping[int, str]

  • 500: Internal Server Error

  • 502: Bad Gateway

  • 503: Service Unavailable

  • 504: Gateway Timeout [{code}] {self.messages[code]}.

class RateLimited

Extends: PyotException

Message: [429] Rate limit Exceeded.

class Forbidden

Extends: PyotException

Message: [403] Access Forbidden.

class Unauthorized

Extends: PyotException

Message: [401] Access Unauthorized.

class BadRequest

Extends: PyotException

Message: [400] Bad Request.

class Timeout

Extends: PyotException

Message: [408] Timeout Connection.

class UnidentifiedResponse

Extends: PyotException

Message: [{code}] Unidentified Response {code}.

PreviousResourcesNextWarnings

Last updated 2 years ago