Exceptions
List of exceptions that Pyot uses.
Module: pyot.core.exceptions
class PyotException
PyotException
Extends: Exception
Base Pyot exception class.
class NotFindable
NotFindable
Extends: PyotException
Message: [600] Pipeline token matching pair not found
class SessionNotFound
SessionNotFound
Extends: PyotException
Message: [601] Session Not Found.
class DecodeError
DecodeError
Extends: PyotException
Message: [602] AioHttp took too long to decode the response.
class NoContent
NoContent
Extends: PyotException
Message: [204] No Content.
class NotFound
NotFound
Extends: PyotException
Message: [404] Data Not Found.
class MethodNotAllowed
MethodNotAllowed
Extends: PyotException
Message: [405] Method Not Allowed.
class ServerError
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
RateLimited
Extends: PyotException
Message: [429] Rate limit Exceeded.
class Forbidden
Forbidden
Extends: PyotException
Message: [403] Access Forbidden.
class Unauthorized
Unauthorized
Extends: PyotException
Message: [401] Access Unauthorized.
class BadRequest
BadRequest
Extends: PyotException
Message: [400] Bad Request.
class Timeout
Timeout
Extends: PyotException
Message: [408] Timeout Connection.
class UnidentifiedResponse
UnidentifiedResponse
Extends: PyotException
Message: [{code}] Unidentified Response {code}.
Last updated