Helper method to validate that a non-falsy and non-empty value is provided for a parameter that should be a string.
The name of the parameter to be used in the error message
The value of the parameter
Helper method to validate that a non-falsy and non-empty value is provided for a parameter that should be a string.