def _get_numbering(document, numid, ilvl):
    """Returns type for the list.

    :Returns:
      Returns type for the list. Returns "bullet" by default or in case of an error.
    """
    try:
        abs_num = document.numbering[numid]
        return document.abstruct_numbering[abs_num][ilvl]['numFmt']
    except:
        return 'bullet'
