exceptions handle when connection or response fails
Merge pull request #3 from ivanprjcts/master

exceptions handle when connection or response fails