def trap(self, *errorTypes):
        error = self.check(*errorTypes)
        if not error:
            raise self
        return error
Trap this failure if its type is in a predetermined list.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/python/failure.py/Failure.trap