ERRWETRAP, Error while processing $ETRAP
Run Time Error: This indicates that $ETRAP contained invalid M code or caused a run time error.
Action: Check the $ETRAP variable. To get more information about the errors- SET $ZTRAP to empty string, and a temporary variable to the contents of $ETRAP. Then, SET $ETRAP to "BREAK" and XECUTE the temporary variable. It is best to keep the source code in $ETRAP simple if $ZTRAP is an empty string, since ETRAP specifies a string that GT.M invokes upon encountering an exception condition.