Google Cloud Workflows V1 Client - Class StateError (0.5.0)

Reference documentation and code samples for the Google Cloud Workflows V1 Client class StateError.

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

Generated from protobuf message google.cloud.workflows.v1.Workflow.StateError

Namespace

Google \ Cloud \ Workflows \ V1 \ Workflow

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ details string

Provides specifics about the error.

↳ type int

The type of this state error.

getDetails

Provides specifics about the error.

Returns
TypeDescription
string

setDetails

Provides specifics about the error.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

The type of this state error.

Returns
TypeDescription
int

setType

The type of this state error.

Parameter
NameDescription
var int
Returns
TypeDescription
$this