coleifer / micawber

a small library for extracting rich content from urls
http://micawber.readthedocs.org/
MIT License
635 stars 91 forks source link

I'd like more granular exceptions #9

Closed ghing closed 12 years ago

ghing commented 12 years ago

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.

coleifer commented 12 years ago

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

ghing commented 12 years ago

@coleifer Sounds great. Thanks.