Class: Aws::States::Types::MockErrorOutput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-states/lib/aws-sdk-states/types.rb

Overview

A JSON object that contains a mocked error.

Constant Summary collapse

SENSITIVE =
[:error, :cause]

Instance Attribute Summary collapse

Instance Attribute Details

#cause ⇒ String

A string containing the cause of the exception thrown when executing the state's logic.

Returns:

  • (String)


3398
3399
3400
3401
3402
3403
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 3398

class MockErrorOutput < Struct.new(
  :error,
  :cause)
  SENSITIVE = [:error, :cause]
  include Aws::Structure
end

#error ⇒ String

A string denoting the error code of the exception thrown when invoking the tested state. This field is required if mock.errorOutput is specified.

Returns:

  • (String)


3398
3399
3400
3401
3402
3403
# File 'gems/aws-sdk-states/lib/aws-sdk-states/types.rb', line 3398

class MockErrorOutput < Struct.new(
  :error,
  :cause)
  SENSITIVE = [:error, :cause]
  include Aws::Structure
end