MockErrorOutput - Amazon Step Functions
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

MockErrorOutput

A JSON object that contains a mocked error.

Contents

cause

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 32768.

Required: No

error

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

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: