How does Typebot handles errors?
In case that an logic error occurs (like an unhandled error in a script), is there a way to handle that?
For me, a good solution would be an "error block", where if any unforseen errors happen, the user is redirected to that block.
Is there anything similar in Typebot?
4 Replies
Someone will reply to you shortly. In the meantime, this might help:
Not really possible for now
I'd like to implement that: https://github.com/baptisteArno/typebot.io/issues/1659
GitHub
Save error into variable for script and set variable blocks · Issue...
Would allow the user to do something if a piece of code fails for unknown reason.
A workaround could be to wrap your script with try catch block. In the catch block, you set a Typebot variable and check it afterwards