Please see the Net Express documentation here which provides an example of COM exception handling.
You might be able to get additional information by using the following call after the exception occurs:
invoke OLEsup "getLastSCode" returning lsErrorCode
where:
lsErrorCode | PIC X(4) COMP-5 |