Do.AlterReturn Class
Return an AlterReturn object when you want to change the result returned from the core method to the caller. Useful for Do.after subscribers.
Constructor
Do.AlterReturn
(
-
msg -
newRetVal
Parameters:
-
msgString(optional) Explanation of the altered return value
-
newRetValAnyReturn value passed to code that invoked the wrapped function.
