A tweet asked how to trap the entry not found in index error.
The answer is to use the $$ReturnGeneralError form and the variable MessageString
See http://adfos.com/rge.nsf/e for an example.