mirror of
https://github.com/floci-io/floci.git
synced 2026-11-25 23:00:59 -05:00
A Fail state now resolves Error and Cause dynamically from ErrorPath and CausePath, evaluated against the state input through the same JSONPath resolver a payload template field uses. CreateStateMachine now also rejects a Fail state that declares both Error and ErrorPath, or both Cause and CausePath, as AWS does, and rejects a non-string ErrorPath/CausePath value at definition time rather than letting it reach execution and fail with States.Runtime. Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com> * Fix #3255