I would like to have a node where if an exception appears, open an interaction window, I don’t know if it is possible to do that…
Pretty sure it’s doable - what type of interaction window are you after? Is there a particular exception you want to trigger or is it any/all exceptions?
Basically, I would like an interaction window to open when an exception is generated so that he can choose whether to send the error that occurred to my team to check
Do you have any ideas how I can implement this? @jacob.small
Ideas a plenty, but time to build a full set of code I have not.
This isn’t a “Dynamo” thing, but more of a basic C# thing. Look into exception handling.
My first google hit: how call a function when an exception has occurred and the C# program has stopped? - Stack Overflow
Understanding the Try, Catch, Finally blocks will help as well: Exception-handling statements - throw and try, catch, finally - C# reference | Microsoft Learn
If you have a more detailed context (i.e. a C# class, or GitHub repo) then I can try to provide more detail guidance.