def HandleLocaleQuery(locales_manager, locale):
    """Verifies passed arguments and issues a lookup of locale data.

    Args:
        locales_manager (LocalesManager object): Locale manager.
        locale (string): Name of the locale to be queried.

    Raises:
        LookupError: If an error occurred during lookup, e.g. the requested
        locale is unkown.

    Returns:
        (dict) Data about the requested locale.
    """
    try:
        locale = locales_manager.Locale(locale)
    except KeyError as e:
        raise LookupError(e)

    return {'locale': {'name': locale.name,
                       'long_name': locale.long_name,
                       'latitude': locale.latitude,
                       'longitude': locale.longitude
                      },
            'parent': locale.parent,
            'children': locale.children
           }