pub fn wrong_program_type(
    project_name: &str,
    expected_types: Vec<TreeType>,
    parse_type: TreeType
) -> Error
Expand description

Format an error message if an incorrect program type is present.