Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add specific errors. #27

Merged
merged 1 commit into from Aug 16, 2012

Conversation

Projects
None yet
2 participants
Contributor

miloshadzic commented Aug 16, 2012

Some errors bubble up to surrounding code when phone is used. Hopefully this patch makes them easier to handle(it did for me).

Proposed exception structure in the patch:

RuntimeError
|-- PhoneError
   |--NumberError
   |--AreaCodeError
   |--CountryCodeError

Please review.

carr added a commit that referenced this pull request Aug 16, 2012

@carr carr merged commit 388c50f into carr:master Aug 16, 2012

@miloshadzic miloshadzic deleted the miloshadzic:exceptions branch Jan 24, 2013

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