Google Cloud Workflows V1 Client - Class StackTraceElement (1.0.0)

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

A single stack element (frame) where an error occurred.

Generated from protobuf message google.cloud.workflows.executions.v1.Execution.StackTraceElement

Namespace

Google \ Cloud \ Workflows \ Executions \ V1 \ Execution

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ step string

The step the error occurred at.

↳ routine string

The routine where the error occurred.

↳ position Google\Cloud\Workflows\Executions\V1\Execution\StackTraceElement\Position

The source position information of the stack trace element.

getStep

The step the error occurred at.

Returns
Type Description
string

setStep

The step the error occurred at.

Parameter
Name Description
var string
Returns
Type Description
$this

getRoutine

The routine where the error occurred.

Returns
Type Description
string

setRoutine

The routine where the error occurred.

Parameter
Name Description
var string
Returns
Type Description
$this

getPosition

The source position information of the stack trace element.

Returns
Type Description
Google\Cloud\Workflows\Executions\V1\Execution\StackTraceElement\Position|null

hasPosition

clearPosition

setPosition

The source position information of the stack trace element.

Parameter
Name Description
var Google\Cloud\Workflows\Executions\V1\Execution\StackTraceElement\Position
Returns
Type Description
$this