Class: Google::Apis::ScriptV1::ScriptStackTraceElement
- Inherits:
-
Object
- Object
- Google::Apis::ScriptV1::ScriptStackTraceElement
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/script_v1/classes.rb,
generated/google/apis/script_v1/representations.rb,
generated/google/apis/script_v1/representations.rb
Overview
A stack trace through the script that shows where the execution failed.
Instance Attribute Summary collapse
-
#function ⇒ String
The name of the function that failed.
-
#line_number ⇒ Fixnum
The line number where the script failed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ScriptStackTraceElement
constructor
A new instance of ScriptStackTraceElement.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ScriptStackTraceElement
Returns a new instance of ScriptStackTraceElement
276 277 278 |
# File 'generated/google/apis/script_v1/classes.rb', line 276 def initialize(**args) update!(**args) end |
Instance Attribute Details
#function ⇒ String
The name of the function that failed.
Corresponds to the JSON property function
269 270 271 |
# File 'generated/google/apis/script_v1/classes.rb', line 269 def function @function end |
#line_number ⇒ Fixnum
The line number where the script failed.
Corresponds to the JSON property lineNumber
274 275 276 |
# File 'generated/google/apis/script_v1/classes.rb', line 274 def line_number @line_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
281 282 283 284 |
# File 'generated/google/apis/script_v1/classes.rb', line 281 def update!(**args) @function = args[:function] if args.key?(:function) @line_number = args[:line_number] if args.key?(:line_number) end |