Google_Service_Exception
class Google_Service_Exception extends Google_Exception (View source)
Properties
protected | $errors | Optional list of errors returned in a JSON body of an HTTP error response. |
Methods
__construct(string $message, int $code = 0, Exception $previous = null, $errors = array())
Override default constructor to add the ability to set $errors and a retry map.
getErrors()
An example of the possible errors returned.
Details
__construct(string $message, int $code = 0, Exception $previous = null, $errors = array())
Override default constructor to add the ability to set $errors and a retry map.
getErrors()
An example of the possible errors returned.
{ "domain": "global", "reason": "authError", "message": "Invalid Credentials", "locationType": "header", "location": "Authorization", }