Reference documentation and code samples for the Google Cloud Developer Connect V1 Client class ExchangeError.
Message for representing an error from exchanging OAuth tokens.
Generated from protobuf message google.cloud.developerconnect.v1.ExchangeError
Namespace
Google \ Cloud \ DeveloperConnect \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ code |
string
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error |
↳ description |
string
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description |
getCode
Returns | |
---|---|
Type | Description |
string |
setCode
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description
Returns | |
---|---|
Type | Description |
string |
setDescription
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |