Class: Aws::States::Types::MockErrorOutput
- Inherits:
-
Struct
- Object
- Struct
- Aws::States::Types::MockErrorOutput
- Includes:
- Aws::Structure
- Defined in:
- 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
-
#cause ⇒ String
A string containing the cause of the exception thrown when executing the state’s logic.
-
#error ⇒ String
A string denoting the error code of the exception thrown when invoking the tested state.
Instance Attribute Details
#cause ⇒ String
A string containing the cause of the exception thrown when executing the state’s logic.
3404 3405 3406 3407 3408 3409 |
# File 'lib/aws-sdk-states/types.rb', line 3404 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.
3404 3405 3406 3407 3408 3409 |
# File 'lib/aws-sdk-states/types.rb', line 3404 class MockErrorOutput < Struct.new( :error, :cause) SENSITIVE = [:error, :cause] include Aws::Structure end |