def noft(identifier: str, etype: str) ->TypeError:
    """Create and return a TypeError with preset 'not of type' error message.

    Args:
        identifier (str): Identifier name which does not have the correct type.
        etype (str): Expected class as string for the object named by the identifier.

    Returns:
        TypeError: Error with preset 'not of type' error message.
    """
    return TypeError(f'Given {identifier} is not of type {etype}.')
