Callback used by Http#get, Http#post, Http#put, Http#del, and Http#request.
The error code, message, or exception in the case where the request fails.
Optional
The response data if no errors were encountered. Format depends on response type: text, Object, ArrayBuffer, XML.
Callback used by Http#get, Http#post, Http#put, Http#del, and Http#request.