Skip to content

Better handling of exceptions during node evaluation. #153

@neuneck

Description

@neuneck

Is your feature request related to a problem? Please describe.
When a node's compute method raises an exception, there's no neat way of handling that within flowpipe.

Describe the solution you'd like
I would like to be able to add an exception handler to nodes that gets executed when the node's compute raises an exception. Additionally, I would like to extend the Event interface, so that some events can provide additional information to their listeners, in this case the exception object.

Describe alternatives you've considered
As of now, all compute methods we use have a lot of exception handling, since any uncaught exception will interrupt the entire flow's execution. While this works, it's not elegant.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions