Class: Google::Apis::WorkflowexecutionsV1beta::StackTraceElement

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workflowexecutions_v1beta/classes.rb,
lib/google/apis/workflowexecutions_v1beta/representations.rb,
lib/google/apis/workflowexecutions_v1beta/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StackTraceElement

Returns a new instance of StackTraceElement.



246
247
248
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 246

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#positionGoogle::Apis::WorkflowexecutionsV1beta::Position

Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes. Corresponds to the JSON property position



234
235
236
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 234

def position
  @position
end

#routineString

The routine where the error occurred. Corresponds to the JSON property routine

Returns:

  • (String)


239
240
241
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 239

def routine
  @routine
end

#stepString

The step the error occurred at. Corresponds to the JSON property step

Returns:

  • (String)


244
245
246
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 244

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



251
252
253
254
255
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 251

def update!(**args)
  @position = args[:position] if args.key?(:position)
  @routine = args[:routine] if args.key?(:routine)
  @step = args[:step] if args.key?(:step)
end