MCPcopy Index your code
hub / github.com/nodejs/node / fail

Method fail

tools/inspector_protocol/jinja2/compiler.py:313–315  ·  view source on GitHub ↗

Fail with a :exc:`TemplateAssertionError`.

(self, msg, lineno)

Source from the content-addressed store, hash-verified

311 # -- Various compilation helpers
312
313 def fail(self, msg, lineno):
314 """Fail with a :exc:`TemplateAssertionError`."""
315 raise TemplateAssertionError(msg, lineno, self.name, self.filename)
316
317 def temporary_identifier(self):
318 """Get a new unique identifier."""

Callers 6

macro_bodyMethod · 0.95
visit_TemplateMethod · 0.95
visit_ExtendsMethod · 0.95
visit_ForMethod · 0.95
visit_FilterMethod · 0.95
visit_TestMethod · 0.95

Calls 1

Tested by

no test coverage detected