Archie,
Not sure if it's generally accepted but what I do is below:
String friendlyErr
Indicate Err False
Send Ignore_All of Error_Object_ID
Move (Number(sBatchIdNum)) to nBatch
If (Err) Begin
If (LastErr = 56) Move (sBatchIdNum + " is not a number, please enter a number."
Else if (LastErr = xxx) Move "Friendly mssge 2"
...//Continue for all other friendly messages you want to define
Else Move "General Error, could not parse batch ID"
End
Send Trap_All of Error_Object_ID
Hope this helps,
Jeff