You might want to have a look here.
tl;dr try
/catch
is not currently supported at the top level in Daml Script and Daml Triggers, if you want to catch an error you have to do so as part of a transaction.
You might want to have a look here.
tl;dr try
/catch
is not currently supported at the top level in Daml Script and Daml Triggers, if you want to catch an error you have to do so as part of a transaction.