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 to Handle Errors #270

Closed
thedumbtechguy opened this issue Sep 28, 2016 · 4 comments
Closed

How to Handle Errors #270

thedumbtechguy opened this issue Sep 28, 2016 · 4 comments
Labels

Comments

@thedumbtechguy
Copy link

I don't see anything concerning error handling.
How is this done?

Thanks

@Cheesebaron
Copy link
Contributor

You get a RefitException which should give you enough information about what went wrong. Catch that and handle errors.

@MisterHux
Copy link

Isn't it actually ApiException? And then you can pull error content out using ApiException.GetContentAs<T>()

@ahmedalejo
Copy link

@frostymarvelous please take a look at the following issues:

@thedumbtechguy
Copy link
Author

Thanks so much guys. You've been very helpful.

On Fri, Sep 30, 2016, 20:01 Ahmed Aderopo Alejo notifications@github.com
wrote:

@frostymarvelous https://github.com/frostymarvelous please take a look
at the following issues:


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
#270 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4XZZwBTXFO_6z1vvMsmYHUHhkTVHAWks5qvWq2gaJpZM4KIrAi
.

@bennor bennor closed this as completed Sep 30, 2016
@lock lock bot added the outdated label Jun 25, 2019
@lock lock bot locked and limited conversation to collaborators Jun 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants