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

Proposal for error handling through control outputs #80

Open
must opened this issue Feb 29, 2020 · 0 comments
Open

Proposal for error handling through control outputs #80

must opened this issue Feb 29, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@must
Copy link
Member

must commented Feb 29, 2020

As it stands right now, developers tend to use control outputs to indicate errors which can lead to simply connecting these error control outputs to the node in question and the nodes using it. It would be much cleaner to define these error control outputs which would only add the behavior of them implicitly bubbling up to the nodes higher up in the dependency hierarchy. This can be further customized by allowing the developer to make exceptions for some error control outputs and handle these as they would otherwise have as a normal control output.

Bonus utility: adding error data to the control output for debugging purposes.

Example of how this can make logic unnecessarily complicated.
Screenshot 2020-02-29 16 50 07
Screenshot 2020-02-29 16 50 09
Screenshot 2020-02-29 16 50 10
Screenshot 2020-02-29 16 50 13

@must must added the enhancement New feature or request label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant