Raise specific extensions
Merge pull request #3 from porras/exceptions

Raise specific exceptions