Class: Google::Apis::WorkflowexecutionsV1beta::StackTraceElement
- Inherits:
-
Object
- Object
- Google::Apis::WorkflowexecutionsV1beta::StackTraceElement
- 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
-
#column ⇒ Fixnum
The source code column position (of the line) the current instruction was generated from.
-
#line ⇒ Fixnum
The source code line number the current instruction was generated from.
-
#routine ⇒ String
The routine where the error occurred.
-
#step ⇒ String
The step the error occurred at.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StackTraceElement
constructor
A new instance of StackTraceElement.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#column ⇒ Fixnum
The source code column position (of the line) the current instruction was
generated from.
Corresponds to the JSON property column
189 190 191 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 189 def column @column end |
#line ⇒ Fixnum
The source code line number the current instruction was generated from.
Corresponds to the JSON property line
194 195 196 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 194 def line @line end |
#routine ⇒ String
The routine where the error occurred.
Corresponds to the JSON property routine
199 200 201 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 199 def routine @routine end |
#step ⇒ String
The step the error occurred at.
Corresponds to the JSON property step
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 |