Google Cloud Workflows V1beta Client - Class Error (0.3.0)

Reference documentation and code samples for the Google Cloud Workflows V1beta Client class Error.

Error describes why the execution was abnormally terminated.

Generated from protobuf message google.cloud.workflows.executions.v1beta.Execution.Error

Namespace

Google \ Cloud \ Workflows \ Executions \ V1beta \ Execution

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ payload
string

Error payload returned by the execution, represented as a JSON string.

↳ context
string

Human readable error context, helpful for debugging purposes.

getPayload

Error payload returned by the execution, represented as a JSON string.

Returns
Type
Description
string

setPayload

Error payload returned by the execution, represented as a JSON string.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getContext

Human readable error context, helpful for debugging purposes.

Returns
Type
Description
string

setContext

Human readable error context, helpful for debugging purposes.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: