def METHOD_NAME(self, failure):
    if isinstance(failure.value,
                  (FCMAuthenticationError, FCMNotFoundError,
                   TimeoutError, ConnectError)):
        raise failure.value
    self.logger.METHOD_NAME("FCMv1Client failure: {}".format(failure.value))
    raise RouterException("Server error: {}".format(failure.value))