'Construct the class
:param self: A InterfaceCantBeFoundError object
:param interface_modes: Modes of interface required
:type self: InterfaceCantBeFoundError
:type interface_modes: tuple
:return: None
:rtype: None
.. note: For interface_modes the tuple should contain monitor
mode as first argument followed by AP mode'

def __init__(self, interface_modes):

    monitor_mode = interface_modes[0]
    ap_mode = interface_modes[1]
    message = 'Failed    to    find    an    interface    with    '
    if monitor_mode:
        message += 'monitor'
    elif ap_mode:
        message += 'AP'
    message += '    mode'
    Exception.__init__(self, message)
