class Google::Apis::WorkflowexecutionsV1beta::Error

Error describes why the execution was abnormally terminated.

Attributes

context[RW]

Human readable stack trace string. Corresponds to the JSON property `context` @return [String]

payload[RW]

Error message and data returned represented as a JSON string. Corresponds to the JSON property `payload` @return [String]

stack_trace[RW]

A collection of stack elements (frames) where an error occurred. Corresponds to the JSON property `stackTrace` @return [Google::Apis::WorkflowexecutionsV1beta::StackTrace]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/workflowexecutions_v1beta/classes.rb, line 57
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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