Google Cloud Workflows V1beta Client - Class Error (0.2.17)

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
NameDescription
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
TypeDescription
string

setPayload

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getContext

Human readable error context, helpful for debugging purposes.

Returns
TypeDescription
string

setContext

Human readable error context, helpful for debugging purposes.

Parameter
NameDescription
var string
Returns
TypeDescription
$this