Reference documentation and code samples for the Google Cloud Workflows V1 Client class Error.
Error describes why the execution was abnormally terminated.
Generated from protobuf message google.cloud.workflows.executions.v1.Execution.Error
Namespace
Google \ Cloud \ Workflows \ Executions \ V1 \ ExecutionMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ payload
string
Error message and data returned represented as a JSON string.
↳ context
string
Human-readable stack trace string.
↳ stack_trace
Google\Cloud\Workflows\Executions\V1\Execution\StackTrace
Stack trace with detailed information of where error was generated.
getPayload
Error message and data returned represented as a JSON string.
string
setPayload
Error message and data returned represented as a JSON string.
var
string
$this
getContext
Human-readable stack trace string.
string
setContext
Human-readable stack trace string.
var
string
$this
getStackTrace
Stack trace with detailed information of where error was generated.
hasStackTrace
clearStackTrace
setStackTrace
Stack trace with detailed information of where error was generated.
$this