View a markdown version of this page

ðŸ“Ē āđāļˆāđ‰āļ‡āđ€āļ•āļ·āļ­āļ™: step functions/latest/apireference/API MockErrorOutput.html - Kapook Update 2025

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 AWS SDKs, see the following: