# Developer Connect V1 API - Class Google::Cloud::DeveloperConnect::V1::ExchangeError (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::ExchangeError.

Message for representing an error from exchanging OAuth tokens.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #code

    def code() -> ::String

**Returns**

- (::String) --- https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error

### #code=

    def code=(value) -> ::String

**Parameter**

- **value** (::String) --- https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error
**Returns**

- (::String) --- https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error

### #description

    def description() -> ::String

**Returns**

- (::String) --- https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description
**Returns**

- (::String) --- https://datatracker.ietf.org/doc/html/rfc6749#section-5.2 - error_description