Class Index | File Index

Classes


Class ResponseError

HTTP Response Error
Defined in: response_error.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ResponseError(response, request)
ResponseError is a wrapper for request errors, this makes it easier to pass an error to the callbacks of the async functions that still retain their extra contextual information passed into the arguments of requests's error handler
Field Summary
Field Attributes Field Name and Description
 
The error message.
 
The request.
 
Actual response from the server.
 
Status of the response.
Class Detail
ResponseError(response, request)
ResponseError is a wrapper for request errors, this makes it easier to pass an error to the callbacks of the async functions that still retain their extra contextual information passed into the arguments of requests's error handler
Parameters:
{object} response
Response HTTP client
{object} request
Request description
Field Detail
message
The error message.

request
The request.

response
Actual response from the server.

status
Status of the response.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed May 30 2012 16:58:14 GMT-0700 (PDT)