Add error handling layer to request construction
Merge pull request #338 from aws/fix/error-handling

Add error handling layer to request construction