'Construct the class
:param self: A InvalidInterfaceError object
:param interface_name: Name of an interface
:type self: InvalidInterfaceError
:type interface_name: str
:return: None
:rtype: None'

def __init__(self, interface_name, mode=None):

    message = 'The    provided    interface    "{0}"    is    invalid!'.format(interface_name)
    if mode:
        message += "Interface    {0}    doesn't    support    {1}    mode".format(interface_name, mode)
    Exception.__init__(self, message)
