def invoke_hook_bolt_fail(self, heron_tuple, fail_latency_ns):
if len(self.task_hooks) > <NUM_LIT:0>:<EOL><INDENT>bolt_fail_info = BoltFailInfo(heron_tuple=heron_tuple,<EOL>failing_task_id=self.get_task_id(),<EOL>fail_latency_ms=fail_latency_ns * system_constants.NS_TO_MS)<EOL>for task_hook in self.task_hooks:<EOL><INDENT>task_hook.bolt_fail(bolt_fail_info)<EOL><DEDENT><DEDENT>
invoke task hooks for every time bolt fails a tuple

        :type heron_tuple: HeronTuple
        :param heron_tuple: tuple that is failed
        :type fail_latency_ns: float
        :param fail_latency_ns: fail latency in nano seconds