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.



206
207
208
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 206

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

Instance Attribute Details

#columnFixnum

The source code column position (of the line) the current instruction was generated from. Corresponds to the JSON property column

Returns:

  • (Fixnum)


189
190
191
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 189

def column
  @column
end

#lineFixnum

The source code line number the current instruction was generated from. Corresponds to the JSON property line

Returns:

  • (Fixnum)


194
195
196
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 194

def line
  @line
end

#routineString

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

Returns:

  • (String)


199
200
201
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 199

def routine
  @routine
end

#stepString

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

Returns:

  • (String)


204
205
206
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 204

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



211
212
213
214
215
216
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 211

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