Skip to content

[wip] error handling guide #7749

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

Draft
wants to merge 21 commits into
base: docs/guide
Choose a base branch
from

Conversation

LeoCx1000
Copy link
Contributor

Summary

Start work on an error handling guide.

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)

@Rapptz Rapptz added the guide This relates to the discord.py guide label Mar 22, 2022
Copy link
Contributor

@pikaninja pikaninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally good, just a few small things i found

Copy link
Contributor

@Vexs Vexs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a fine start. I'd like to see if someone could come up with a better way to handle this besides the generic if-isinstance chain.

LeoCx1000 and others added 5 commits March 25, 2022 15:49
Co-authored-by: pikaninja <38714028+pikaninja@users.noreply.github.com>
Co-authored-by: Chrovo <83519535+Chrovo@users.noreply.github.com>
Co-authored-by: Chrovo <83519535+Chrovo@users.noreply.github.com>
Copy link
Contributor

@AbstractUmbra AbstractUmbra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added some comments of my views, the only section I'm not too sure about is the Views and UI Kit error handling, personally.

One comment: since we are a typed library, I feel our examples should be typed up too.

LeoCx1000 and others added 11 commits May 4, 2022 09:57
Co-authored-by: Alex Nørgaard <Umbra@AbstractUmbra.dev>
Co-authored-by: Alex Nørgaard <Umbra@AbstractUmbra.dev>
Co-authored-by: Chrovo <83519535+Chrovo@users.noreply.github.com>
Co-authored-by: Chrovo <83519535+Chrovo@users.noreply.github.com>
Co-authored-by: Chrovo <83519535+Chrovo@users.noreply.github.com>
Co-authored-by: Alex Nørgaard <Umbra@AbstractUmbra.dev>
Co-authored-by: Alex Nørgaard <Umbra@AbstractUmbra.dev>
Co-authored-by: Alex Nørgaard <Umbra@AbstractUmbra.dev>
Co-authored-by: Alex Nørgaard <Umbra@AbstractUmbra.dev>
Copy link
Contributor

@GoogolGenius GoogolGenius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might have missed some things, but here's what I've caught so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guide This relates to the discord.py guide
Projects
Development

Successfully merging this pull request may close these issues.

10 participants