swf-runtime 1.0.0-alpha7

Runtime engine for Serverless Workflow DSL — execute, validate, and orchestrate workflows
Documentation
document:
  dsl: '1.0.0'
  namespace: test
  name: try-catch-match-when
  version: '0.1.0'
do:
  - attemptTask:
      try:
          - failingTask:
                  raise:
                      error:
                          type: https://example.com/errors/transient
                          status: 503
      catch:
          when: ${ .status == 503 }
          do:
              - handleError:
                      set:
                          recovered: true