Public Member Functions | |
| None | __init__ (self, EventType[Any]|str value, str property_name, int max_length) |
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 | |
| max_length | |
| property_name | |
| value | |
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 | |
Raised when a property value has exceeded the max character length.
Definition at line 273 of file exceptions.py.
| None homeassistant.exceptions.MaxLengthExceeded.__init__ | ( | self, | |
| EventType[Any] | str | value, | ||
| str | property_name, | ||
| int | max_length | ||
| ) |
Initialize error.
Definition at line 276 of file exceptions.py.
| homeassistant.exceptions.MaxLengthExceeded.generate_message |
Definition at line 294 of file exceptions.py.
| homeassistant.exceptions.MaxLengthExceeded.max_length |
Definition at line 293 of file exceptions.py.
| homeassistant.exceptions.MaxLengthExceeded.property_name |
Definition at line 292 of file exceptions.py.
| homeassistant.exceptions.MaxLengthExceeded.value |
Definition at line 291 of file exceptions.py.