whocatchestypename Command

The whocatches command reports where an exception of typename would
be caught if thrown at the current point of execution. Use this command to
find out what would happen if an exception were thrown from the top frame
of the stack.

The line number, function name, and frame number of the catch clause
that would catch typename are displayed. The command
returns “typeis
unhandled” if the catch point is in the same function that
is doing the throw.