Better error message for invalid parameters in hookGoValueCallMethod()