Clarity on Error definitions #497
-
In the latest (0.7.x) the error definition object (at the workflow) is given as a sample json with the following fields:
however, there it is not clear (at least to me) if this is the complete list or just a sample. With the other definitions, a table with "Parameter", "Description", "Type", "Required" is provided. Will this also be done for Error Definitions? was defined in v0.6 with the following fields:
but i couldn't find this in the recent specs |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Good find, it's missing. Will add to https://github.com/serverlessworkflow/specification/blob/main/specification.md#workflow-error-handling |
Beta Was this translation helpful? Give feedback.
-
@globalflea note that if a certain definition is missing in the spec doc (which needs to be added then, so keep finding those issues :) ), the "source of truth" for the DSL is the workflow JSON Schemas https://github.com/serverlessworkflow/specification/blob/main/schema/ specifically for error def, you can reference https://github.com/serverlessworkflow/specification/blob/main/schema/errors.json#L29 |
Beta Was this translation helpful? Give feedback.
Good find, it's missing. Will add to https://github.com/serverlessworkflow/specification/blob/main/specification.md#workflow-error-handling