how to do a transition from error card to another ...
# 🤝help
m
i'm looking for a way to link error case to the normal wokflow instead of ending the conversation.
a
Yep, you can use the
Error
flow
e
@acceptable-kangaroo-64719 I think he meant he wants to go back to the workflow where the error was triggered. A Exit node wouldn’t apply right? Since error don’t have transition cards
You could add a try {} catch () statement to all your custom codes, and then show the caught error. That way you would remain in the workflow in case of an known or unknown error
a
There's a risk of going into an infinite loop if you make the error flow just return to the previous node. It would be better to transition instead to a known safe flow, like the main menu.