Try-Catch
Last updated
Was this helpful?
Last updated
Was this helpful?
You can add any building block — or a sequence of multiple building blocks — after the Start Try-Catch block. All of these blocks will be part of the Try-Catch scope.
If an error happens inside this scope, the TaskBot will immediately continue along the On Catch Error path, where you can define how to handle the error.
After either the success path or the error path is completed, the TaskBot will continue along the After Try-Catch path.
If any error (no differentiation) occurs inside a loop, break the loop and continue after the loop.
Different try-catch scopes with different error handling strategies for different building blocks.
Record the error message and handle the error differently depending on the error.