@staticmethod
def __check_project_slug(project: str) ->None:
    """Check if project slug is invalid.

        Args:
            project (str): Slug of project which should be checked.

        Raises:
            TypeError: If slug is not of type str.
            ValueError: If slug string is empty or only consists of whitespace.
        """
    if not isinstance(project, str):
        raise TypeError('Project slug is not of type string.')
    if not project or project.isspace():
        raise ValueError('The specified project slug must not be empty.')
