If this is the same validateArgs from the node sdk, the string parameter should be the name of the function that you're validating in, so that the error messages are correctly formatted and identify where the failure is.