Story 60635926: Handling both types of error returns from GAPI in gapi_request_with_auth
* Type 1 : first parameter undefined, second parameter stringified error
* Type 2 : first parameter has 'error' property