Functions
_extract_template_context
1
dict[str, Any] | None
▼
Extract rich context from kida template exceptions.
Returns a dict with templa…
_extract_template_context
1
dict[str, Any] | None
▼
def _extract_template_context(exc: BaseException) -> dict[str, Any] | None
Extract rich context from kida template exceptions.
Returns a dict with template-specific error info, or None if the exception is not a kida template error.
Parameters
| Name | Type | Description |
|---|---|---|
exc |
BaseException |
Returns
dict[str, Any] | None