swf-runtime 1.0.0-alpha11

Runtime engine for Serverless Workflow DSL — execute, validate, and orchestrate workflows
document:
  dsl: '1.0.0'
  namespace: test
  name: try-catch-error-variable
  version: '0.1.0'
do:
  - attemptTask:
      try:
        - failingTask:
            raise:
              error:
                type: https://example.com/errors/transient
                detail: Javierito was here!
                status: 503
                title: Transient Error
      catch:
        as: caughtError
        do:
          - handleError:
              set:
                errorMessage: ${$caughtError.detail}