justjohn/twig.js — pull request #92 by Altimar (2013-05-08 06:01:00+00:00)
Title: Execution of error callback during ajax template loading

I think it will be useful.