I'd like more granular exceptions #9

Closed
ghing opened this Issue Oct 8, 2012 · 2 comments

Comments

Projects
None yet
2 participants

ghing commented Oct 8, 2012

I'd like more granular exceptions so I can distinguish between exception cases in my calling code. Specifically, I'd like to differentiate when a call to ProviderRegistry.request fails due to a provider not being found for a URL versus an error fetching a particular endpoint URL.

Let me know what you think about this. I'm happy to fork and make a pull request if you're willing to go this direction.

Owner

coleifer commented Oct 8, 2012

Good call, i'll probably just add a ProviderNotFoundException -- sound good?

ghing commented Oct 8, 2012

@coleifer Sounds great. Thanks.

coleifer closed this in 335b0cf Oct 8, 2012

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