Code format
Err not always set from library (Fixes #29)

Detect for errors in the response body and if set then report those to the user.