Class: Google::Apis::WorkflowexecutionsV1beta::Error
- Inherits:
-
Object
- Object
- Google::Apis::WorkflowexecutionsV1beta::Error
- 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
Error describes why the execution was abnormally terminated.
Instance Attribute Summary collapse
-
#context ⇒ String
Human-readable stack trace string.
-
#payload ⇒ String
Error message and data returned represented as a JSON string.
-
#stack_trace ⇒ Google::Apis::WorkflowexecutionsV1beta::StackTrace
A collection of stack elements (frames) where an error occurred.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Error
constructor
A new instance of Error.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Error
Returns a new instance of Error.
57 58 59 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 57 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context ⇒ String
Human-readable stack trace string.
Corresponds to the JSON property context
45 46 47 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 45 def context @context end |
#payload ⇒ String
Error message and data returned represented as a JSON string.
Corresponds to the JSON property payload
50 51 52 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 50 def payload @payload end |
#stack_trace ⇒ Google::Apis::WorkflowexecutionsV1beta::StackTrace
A collection of stack elements (frames) where an error occurred.
Corresponds to the JSON property stackTrace
55 56 57 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 55 def stack_trace @stack_trace end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
62 63 64 65 66 |
# File 'lib/google/apis/workflowexecutions_v1beta/classes.rb', line 62 def update!(**args) @context = args[:context] if args.key?(:context) @payload = args[:payload] if args.key?(:payload) @stack_trace = args[:stack_trace] if args.key?(:stack_trace) end |