internal static Exception CreateVariableCannotBeMadeConstantError(PSVariable variable)
{
string message = String.Format("Existing variable {0} cannot be made constant. Variables can be made constant only at creation time.", variable.Name);
return CreateError(variable, message, "VariableCannotBeMadeConstant");
}