swf-runtime 1.0.0-alpha9

Runtime engine for Serverless Workflow DSL — execute, validate, and orchestrate workflows
Documentation
document:
  dsl: '1.0.0'
  namespace: test
  name: try-catch-except-when
  version: '0.1.0'
do:
  - tryTask:
      try:
        - failTask:
            raise:
              error:
                type: https://serverlessworkflow.io/spec/1.0.0/errors/runtime
                status: 500
                title: Runtime Error
                detail: "Expected error"
      catch:
        errors:
          with:
            type: runtime
        exceptWhen: ${ .details == "Skip this error" }
        do:
          - handleError:
              set:
                handled: true