This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
🐛 [BUG]: Not possible to easily extract offending edge/node ID from VueFlowError #1276
Closed
1 task done
Is there an existing issue for this?
Current Behavior
When a VueFlowError is instantiated, a reference to the offending edge ID is passed. This is used to generate an error message but the value itself is not stored on the error, either in a custom property or in the
cause
property of the error. This makes string parsing the only way to extract the offending edge/node/etc, instead of simply accessing it off the error object, which makes error handling of the type mentioned in this comment quite challenging/error-prone.Expected Behavior
The error should expose all relevant information for programmatic access.
Steps To Reproduce
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: