Exit Call Error Reports
You can report errors and exceptions that occur during exit call execution using the
exitCall.reportError()
method. You must call the method before
transaction.stop()
.
Use exitCall.reportError()
for any exception or subclass:
exitCall.reportError(exception);
You can also use exitCall.reportError()
for a specific
errorName
or errorMessage
.
exitCall.reportError(errorName, errorMessage);