Raise the exception when running the template tag.