Error Handling with TRY/CATCH¶
Use TRY
/ CATCH
to handle failures and optionally retry operations.
Catching failures¶
If riskyCall()
throws, the fallback block produces an error object.
Retrying¶
Add RETRY n TIMES
to re-run the expression before giving up.
The call is attempted three additional times. If all attempts fail, the fallback runs.