toppy.errors
- Errors#
- exception toppy.errors.BadRequest(resp: Optional[aiohttp.client_reqrep.ClientResponse] = None, message: Optional[str] = None)#
Status
400
.
- exception toppy.errors.ClientNotReady#
The bot is not ready and does not have an application ID set so no ID could be found
- exception toppy.errors.Forbidden(resp: Optional[aiohttp.client_reqrep.ClientResponse] = None, message: Optional[str] = None)#
Status
403
.
- exception toppy.errors.HTTPException(resp: Optional[aiohttp.client_reqrep.ClientResponse] = None, message: Optional[str] = None)#
The base HTTP exception class.
- exception toppy.errors.MissingExtraRequire(require: str)#
If a user is missing extra requirements
- exception toppy.errors.NoTokenSet#
An exception if the bot is missing bot vars to use the cog.
- exception toppy.errors.RateLimited(retry_after: Optional[int] = None, resp: Optional[aiohttp.client_reqrep.ClientResponse] = None)#
Status
429
.
- exception toppy.errors.Unauthorized(resp: Optional[aiohttp.client_reqrep.ClientResponse] = None, message: Optional[str] = None)#
Status
401
.