pincer package¶
Subpackages¶
Submodules¶
pincer.exceptions module¶
- exception pincer.exceptions.BadRequestError¶
Bases:
pincer.exceptions.HTTPErrorError code 400.
- exception pincer.exceptions.DisallowedIntentsError¶
Bases:
pincer.exceptions.DispatchErrorInvalid gateway intent got provided. Make sure your client has the enabled intent.
- exception pincer.exceptions.DispatchError¶
Bases:
pincer.exceptions.PincerErrorBase exception class for all errors which are specifically related to the dispatcher.
- exception pincer.exceptions.ForbiddenError¶
Bases:
pincer.exceptions.HTTPErrorError code 403.
- exception pincer.exceptions.GatewayError¶
Bases:
pincer.exceptions.HTTPErrorError code 502.
- exception pincer.exceptions.HTTPError¶
Bases:
pincer.exceptions.PincerErrorHTTP Exception base class.
- exception pincer.exceptions.HeartbeatError¶
Bases:
pincer.exceptions.DispatchErrorException raised due to a problem with websocket heartbeat.
- exception pincer.exceptions.InvalidTokenError(hint: Optional[str] = None)¶
Bases:
pincer.exceptions.DispatchError,ValueError
- exception pincer.exceptions.MethodNotAllowedError¶
Bases:
pincer.exceptions.HTTPErrorError code 405.
- exception pincer.exceptions.NotFoundError¶
Bases:
pincer.exceptions.HTTPErrorError code 404.
- exception pincer.exceptions.NotModifiedError¶
Bases:
pincer.exceptions.HTTPErrorError code 304.
- exception pincer.exceptions.PincerError¶
Bases:
ExceptionBase exception class for all Pincer errors.
- exception pincer.exceptions.RateLimitError¶
Bases:
pincer.exceptions.HTTPErrorError code 429.
- exception pincer.exceptions.ServerError¶
Bases:
pincer.exceptions.HTTPErrorError code 5xx. Status code is not in the discord API
- exception pincer.exceptions.UnauthorizedError¶
Bases:
pincer.exceptions.HTTPErrorError code 401.
- exception pincer.exceptions.UnhandledException(specific: str)¶