Create a new AuthError from a given HTTP response and body.
TODO: MA -- 2015/10/24 -- Create consistency check for statusCode
Name | Type | Description |
---|---|---|
response |
Object |
The complete response object as returned from |
body |
String |
The raw body of the HTTP response |
Extends
Members
-
bodyString
-
The reaw body of the HTTP response
-
dataObject Array
-
The JSON decoded body of the HTTP response
-
responseObject
-
The raw response object as returned from 'request'
- See:
-
statusCodeInt
-
The HTTP Status Code of the HTTP response for fast access and inspection