1.5.0 (latest) 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.26.0 0.25.0 0.24.0 Reference documentation and code samples for the gapic-common class Gapic::GenericLRO::Operation::GenericError.

Represents a generic error that a generic LRO can report

## Inherits

- Object

## Methods

### #code

    def code() -> String

**Returns**

- (String) --- An error code

### #code=

    def code=(value)

Sets the attribute code

### #initialize

    def initialize(code, message) -> GenericError

**Parameters**

- **code** (String) --- An error code
- **message** (String) --- An error message
**Returns**

- ([GenericError](https://docs.cloud.google.com/ruby/docs/reference/gapic-common/latest/Gapic-GenericLRO-Operation-GenericError)) --- a new instance of GenericError

### #message

    def message() -> String

**Returns**

- (String) --- An error message

### #message=

    def message=(value)

Sets the attribute message