barfi icon indicating copy to clipboard operation
barfi copied to clipboard

[Bug] Creating cyclic connections raises exception incorrectly

Open GsLogiMaker opened this issue 1 year ago • 1 comments

Creating cyclical connections between nodes raises a TypeError because raise is invoked with a str, rather than an Exception. A custom Exception should be used for this.

Screenshot from 2023-09-21 11-17-59

Minimum Reproducing Project - https://github.com/GsLogiMaker/barfi_error_minimal_project/releases/tag/v0.0.0

GsLogiMaker avatar Sep 21 '23 16:09 GsLogiMaker