Class: Google::Apis::WorkflowexecutionsV1::StackTraceElement
- Inherits:
-
Object
- Object
- Google::Apis::WorkflowexecutionsV1::StackTraceElement
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workflowexecutions_v1/classes.rb,
lib/google/apis/workflowexecutions_v1/representations.rb,
lib/google/apis/workflowexecutions_v1/representations.rb
Overview
A single stack element (frame) where an error occurred.
Instance Attribute Summary collapse
-
#position ⇒ Google::Apis::WorkflowexecutionsV1::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.
-
#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.
419 420 421 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 419 def initialize(**args) update!(**args) end |
Instance Attribute Details
#position ⇒ Google::Apis::WorkflowexecutionsV1::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
407 408 409 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 407 def position @position end |
#routine ⇒ String
The routine where the error occurred.
Corresponds to the JSON property routine
412 413 414 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 412 def routine @routine end |
#step ⇒ String
The step the error occurred at.
Corresponds to the JSON property step
417 418 419 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 417 def step @step end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
424 425 426 427 428 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 424 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 |