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

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
 

Detailed Description

Raised when a property value has exceeded the max character length.

Definition at line 273 of file exceptions.py.

Constructor & Destructor Documentation

◆ __init__()

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.

Member Data Documentation

◆ generate_message

homeassistant.exceptions.MaxLengthExceeded.generate_message

Definition at line 294 of file exceptions.py.

◆ max_length

homeassistant.exceptions.MaxLengthExceeded.max_length

Definition at line 293 of file exceptions.py.

◆ property_name

homeassistant.exceptions.MaxLengthExceeded.property_name

Definition at line 292 of file exceptions.py.

◆ value

homeassistant.exceptions.MaxLengthExceeded.value

Definition at line 291 of file exceptions.py.


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