Home Assistant Unofficial Reference 2024.12.1
homeassistant.exceptions.TemplateError Class Reference
Inheritance diagram for homeassistant.exceptions.TemplateError:
[legend]
Collaboration diagram for homeassistant.exceptions.TemplateError:
[legend]

Public Member Functions

None __init__ (self, Exception|str exception)
 
- Public Member Functions inherited from homeassistant.exceptions.HomeAssistantError
None __init__ (self, *object args, str|None translation_domain=None, str|None translation_key=None, dict[str, str]|None translation_placeholders=None)
 
str __str__ (self)
 

Additional Inherited Members

- Public Attributes inherited from homeassistant.exceptions.HomeAssistantError
 generate_message
 
 translation_domain
 
 translation_key
 
 translation_placeholders
 
- Static Public Attributes inherited from homeassistant.exceptions.HomeAssistantError
 bool
 
 None
 

Detailed Description

Error during template rendering.

Definition at line 119 of file exceptions.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.exceptions.TemplateError.__init__ (   self,
Exception | str  exception 
)
Init the error.

Definition at line 122 of file exceptions.py.


The documentation for this class was generated from the following file: