You can try using....
RUN (valid("run_gedmequity", ECHOIN(1,(gedmequityIn))),
FAIL("Failure on RUN run_gedmequity (" + TEXT ( LASTERRORCODE ( ) ) + "):" + LASTERRORMSG ( ) ) )
It should bring back the return code from the runmap with related message.