\Google_Service_Exception

Summary

Methods
Properties
Constants
__construct()
getErrors()
No public properties found
No constants found
No protected methods found
$errors
N/A
No private methods found
No private properties found
N/A

Properties

$errors

$errors : 

Optional list of errors returned in a JSON body of an HTTP error response.

Type

Methods

__construct()

__construct(string  $message, integer  $code, \Exception|null  $previous = null,   $errors = array()) 

Override default constructor to add the ability to set $errors and a retry map.

Parameters

string $message
integer $code
\Exception|null $previous
$errors

getErrors()

getErrors() : \[{string,

An example of the possible errors returned.

{ "domain": "global", "reason": "authError", "message": "Invalid Credentials", "locationType": "header", "location": "Authorization", }

Returns

\[{string, —

string}] List of errors return in an HTTP response or [].