1.7.0 (latest) 1.6.1 1.5.1 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.7.0 0.6.2 0.5.0 0.4.0 0.3.1 0.2.0 0.1.2 Reference documentation and code samples for the Workflows Executions V1 API class Google::Cloud::Workflows::Executions::V1::Execution::Error.

Error describes why the execution was abnormally terminated.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #context

    def context() -> ::String

**Returns**

- (::String) --- Human-readable stack trace string.

### #context=

    def context=(value) -> ::String

**Parameter**

- **value** (::String) --- Human-readable stack trace string.
**Returns**

- (::String) --- Human-readable stack trace string.

### #payload

    def payload() -> ::String

**Returns**

- (::String) --- Error message and data returned represented as a JSON string.

### #payload=

    def payload=(value) -> ::String

**Parameter**

- **value** (::String) --- Error message and data returned represented as a JSON string.
**Returns**

- (::String) --- Error message and data returned represented as a JSON string.

### #stack_trace

    def stack_trace() -> ::Google::Cloud::Workflows::Executions::V1::Execution::StackTrace

**Returns**

- ([::Google::Cloud::Workflows::Executions::V1::Execution::StackTrace](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workflows-executions-v1/latest/Google-Cloud-Workflows-Executions-V1-Execution-StackTrace)) --- Stack trace with detailed information of where error was generated.

### #stack_trace=

    def stack_trace=(value) -> ::Google::Cloud::Workflows::Executions::V1::Execution::StackTrace

**Parameter**

- **value** ([::Google::Cloud::Workflows::Executions::V1::Execution::StackTrace](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workflows-executions-v1/latest/Google-Cloud-Workflows-Executions-V1-Execution-StackTrace)) --- Stack trace with detailed information of where error was generated.
**Returns**

- ([::Google::Cloud::Workflows::Executions::V1::Execution::StackTrace](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workflows-executions-v1/latest/Google-Cloud-Workflows-Executions-V1-Execution-StackTrace)) --- Stack trace with detailed information of where error was generated.