def geo_db_path(type):
    """
    Returns the full path of a specific GeoLite2 database

    Args:
        type (str): The type of database path to retrieve (ASN, City, Country)

    Raises:
        ValueError: An invalid database type has been provided

    Returns:
        str: The absolute path to the specified database.
    """
    if type not in ['ASN', 'City', 'Country']:
        raise ValueError(
            "Invalid GeoLite2 Database type provided.\n"
            "Type must be: 'ASN', 'City' or 'Country'"
        )
    else:
        return f'/usr/local/share/GeoIP/GeoLite2-{type}.mmdb'