trueif catch-name is active at this point in the program, and
isntwill reverse the results.
catch-name (is | isnt) catchable
Tests whether catch-name is active at this point in the program. A catch is active only when it is in a scope that is currently executing.
catch-name can be any of the following:
A compile-time error results if catch-name is not declared within the program, nor is it one of the two built-in catches.
The following code uses
is catchable to see if there is a currently active catch named
empty-recordset before throwing to it: