Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add detection for more distinct exceptions based on api codes. #6

Open
todo bot opened this issue Dec 28, 2020 · 0 comments
Open

Add detection for more distinct exceptions based on api codes. #6

todo bot opened this issue Dec 28, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request todo 🗒️

Comments

@todo
Copy link

todo bot commented Dec 28, 2020

# TODO: Add detection for more distinct exceptions based on api codes.
def __init__(self, status_code, request_text):
self.message = f"Discord API returned an unexpected response back [{status_code}]: {request_text}"
def __str__(self):
return self.message


This issue was generated by todo based on a TODO comment in 7757642 when #5 was merged. cc @ms7m.
@todo todo bot added the todo 🗒️ label Dec 28, 2020
@todo todo bot assigned ms7m Dec 28, 2020
@ms7m ms7m added the enhancement New feature or request label Dec 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request todo 🗒️
Projects
None yet
Development

No branches or pull requests

1 participant