def __init__(self, requested, discovered):
        # It would be cool to replace this logic with pyrsistent typed fields
        # but Exception and PClass have incompatible layouts (you can't have an
        # exception that's a PClass).
        if not isinstance(requested, FilePath):
            raise TypeError(
                "requested must be FilePath, not {}".format(type(requested))
            )
        if not isinstance(discovered, (FilePath, NoneType)):
            raise TypeError(
                "discovered must be None or FilePath, not {}".format(
                    type(discovered)
                )
            )

        self.requested = requested
        self.discovered = discovered
Remove a plugin from the manager.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/ebs.py/AttachedUnexpectedDevice.__init__--crossover with--dataset/ETHPy150Open enthought/envisage/envisage/application.py/Application.remove_plugin