The function must return a string value and have three string parameters. When the Action Invoker finishes processing an action, or the action ends in an exception,
OnActionInvokerResult is called with the following arguments:
- action: The name of the executed action.
- result: The result of the action in JSON, or the exception message as a string.
- resultType: The result type: undefined, null, string, number, boolean, array, object, or exception.
If the function returns a blank string, "", the result of the action, or the exception, is processed as it normally would be. However, if a non-blank string is returned, that string is returned as the action result. When an exception is processed, if a non-blank string is returned, CSPro will not display the runtime error message.