Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas Item Decorator Support For Default error handler #339

Closed
Michaelpalacce opened this issue Jul 16, 2024 · 1 comment
Closed

Canvas Item Decorator Support For Default error handler #339

Michaelpalacce opened this issue Jul 16, 2024 · 1 comment
Assignees
Labels
area/vrotsc Relates to `vrotsc` module effort/low kind/feature New Feature to the project priority/medium triage/needed Needs to be discussed by project maintainers version/minor Introduces a non-breaking feature or change

Comments

@Michaelpalacce
Copy link
Collaborator

Description

We need to add support for a "Default error handler"

The default error handler is what is called in case of any uncaught errors in the workflow. It is a great way to have a last case error handling effort.

The "Default error handler" does not have anything pointing to it, but it has a target

Example

This is how the :Default error handler" looks like:

  <error-handler name="item5">
    <position y="200.0" x="140.0"/>
  </error-handler>

Notes

  • The lack of anything targeting the "Default error handler" should be checked and enforced
  • We should add support for target of course, this can point to any other element or end which will point to the end of the workflow
  • The name in the error-handler is actually the "target", aka what will be called if an error is caught
@Michaelpalacce Michaelpalacce added area/vrotsc Relates to `vrotsc` module version/minor Introduces a non-breaking feature or change triage/needed Needs to be discussed by project maintainers kind/feature New Feature to the project priority/medium effort/low labels Jul 16, 2024
@akantchev akantchev self-assigned this Jul 17, 2024
@akantchev
Copy link
Contributor

Implementation: #346

akantchev added a commit that referenced this issue Jul 22, 2024
…rror-handler

[vrotsc, vrotsc-annotations] (#339) Added a new canvas item for Default Error Handler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/vrotsc Relates to `vrotsc` module effort/low kind/feature New Feature to the project priority/medium triage/needed Needs to be discussed by project maintainers version/minor Introduces a non-breaking feature or change
Projects
None yet
Development

No branches or pull requests

2 participants