2.7.0 (latest) 2.6.1 2.5.1 2.4.1 2.3.0 2.2.0 2.1.1 2.0.0 1.2.0 1.1.0 1.0.2 0.8.0 0.7.2 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.5 Reference documentation and code samples for the Workflows V1 API class Google::Cloud::Workflows::V1::Workflow::StateError.

Describes an error related to the current state of the workflow.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #details

    def details() -> ::String

**Returns**

- (::String) --- Provides specifics about the error.

### #details=

    def details=(value) -> ::String

**Parameter**

- **value** (::String) --- Provides specifics about the error.
**Returns**

- (::String) --- Provides specifics about the error.

### #type

    def type() -> ::Google::Cloud::Workflows::V1::Workflow::StateError::Type

**Returns**

- ([::Google::Cloud::Workflows::V1::Workflow::StateError::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workflows-v1/latest/Google-Cloud-Workflows-V1-Workflow-StateError-Type)) --- The type of this state error.

### #type=

    def type=(value) -> ::Google::Cloud::Workflows::V1::Workflow::StateError::Type

**Parameter**

- **value** ([::Google::Cloud::Workflows::V1::Workflow::StateError::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workflows-v1/latest/Google-Cloud-Workflows-V1-Workflow-StateError-Type)) --- The type of this state error.
**Returns**

- ([::Google::Cloud::Workflows::V1::Workflow::StateError::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workflows-v1/latest/Google-Cloud-Workflows-V1-Workflow-StateError-Type)) --- The type of this state error.