return instance of Error on bad resp.statusCode
0.3.0