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
Hall
Hall7mo ago
Someone will reply to you shortly. In the meantime, this might help:
Baptiste
Baptiste7mo ago
Not really possible for now
Baptiste
Baptiste7mo ago
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.
Baptiste
Baptiste7mo ago
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

Did you find this page helpful?