swf-runtime 1.0.0-alpha9

Runtime engine for Serverless Workflow DSL — execute, validate, and orchestrate workflows
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
document:
  dsl: '1.0.0-alpha5'
  namespace: test
  name: raise-reusable
  version: '1.0.0'
use:
  errors:
    AuthenticationError:
      type: https://serverlessworkflow.io/spec/1.0.0/errors/authentication
      status: 401
      title: Authentication Error
      detail: "User is not authenticated"
do:
  - authError:
      raise:
        error: AuthenticationError