$try

Catches any exceptions that could be thrown by executing the given statement block.
Syntax
    see Documentation
DocumentationCatches any exceptions that could be thrown by executing the given statement block:

$try{statement_block}{exception_name_1}{exception_block_1}{exception_name_2}{exception_block_2} ... {exception_name_n}{exception_block_n}{default_block}

    Parameters:
      statement_block, the statement block that could cause an exception to be thrown.
      exception_name_1 through exception_name_n, the name of the exception to catch if thrown.
      exception_block_1 through exception_block_n, the statement block to execute if the corresponding specified exception occured.
      default_block, a default statement block to be executed if any exception occured other than the specified.
$try{statement_block}{exception_block}

    Parameters:
      statement_block, the statement block that could cause an exception to be thrown.
      exception_block, the statement block to execute if any exception occur.
Examples
Delete table Users

    $try{$sql{Drop Table Users} ... ok.}
      {failed.}

    Result:
    if the sql command succeeds:
    Delete table Users ... ok.
    if the sql command doesn't succeed:
    Delete table Users failed.
GroupControl_Flow
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters2
Maximum parameters <unlimited>