Added specific error types rather than generic error types
Merge pull request #41 from JalfResi/error-types

Added specific error types rather than generic error types