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

Public Member Functions

None __init__ (self, str message_translation_key, list[Exception] exceptions, str|None translation_domain=None, dict[str, str]|None translation_placeholders=None)
 
- 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)
 

Public Attributes

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

Additional Inherited Members

- Static Public Attributes inherited from homeassistant.exceptions.HomeAssistantError
 bool
 
 None
 

Detailed Description

A validation exception occurred when validating the configuration.

Definition at line 87 of file exceptions.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.exceptions.ConfigValidationError.__init__ (   self,
str  message_translation_key,
list[Exception]  exceptions,
str | None   translation_domain = None,
dict[str, str] | None   translation_placeholders = None 
)
Initialize exception.

Definition at line 90 of file exceptions.py.

Member Data Documentation

◆ generate_message

homeassistant.exceptions.ConfigValidationError.generate_message

Definition at line 104 of file exceptions.py.


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