Added static cache for throwing error reporter driven by templates.