Skip to content

Improve CatchErrors schema definition #1036

Closed
@fjtirado

Description

@fjtirado

Currently CatchError definition is an object, which allows specifying anything here
However the idea is that the schema just support definitions of the form

catch:
        errors:
          with:
            type: https://serverlessworkflow.io.io/dsl/errors/types/communication
            status: 404

where elements under with: are of the same name than in error: definition, but optional

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions