Include parameter name in exception when value is invalid