Exception handling helper. This is used internally to either raise rewritten exceptions or return a rendered traceback for the template.
(self, source: t.Optional[str] = None)
| 934 | return names |
| 935 | |
| 936 | def handle_exception(self, source: t.Optional[str] = None) -> class="st">"te.NoReturn": |
| 937 | class="st">"""Exception handling helper. This is used internally to either raise |
| 938 | rewritten exceptions or return a rendered traceback for the template. |
| 939 | class="st">""" |
| 940 | from .debug import rewrite_traceback_stack |
| 941 | |
| 942 | raise rewrite_traceback_stack(source=source) |
| 943 | |
| 944 | def join_path(self, template: str, parent: str) -> str: |
| 945 | class="st">"""Join a template with the parent. By default all the lookups are |
no test coverage detected