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

How can I handle API errors? #55

Open
psolymos opened this issue Jan 31, 2024 · 1 comment
Open

How can I handle API errors? #55

psolymos opened this issue Jan 31, 2024 · 1 comment

Comments

@psolymos
Copy link

Just wanted to leave some notes here for the chapter How can I handle API errors?.

I made the tryr package to reflect some best practices.

You might also find the examples useful, there is a shiny app that uses the swagger page and also shows STDERR/STDOUT.

Great initiative! I will be happy to give feedback once you develop it further.

@jonthegeek
Copy link
Owner

Oooooh, nice! I've hand-rolled some things for plumber API error handling, but it's good to see another take! I'll dig into this much more deeply when I get to that half of the book (and likely before that)!

Most of the action for this project is happening over in the book club where I'm sorting out my thoughts. Hopefully I'll have some updates over here (other than issues) soon 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants