Public Member Functions | |
| str | __str__ (self) |
| Generator[str] | output (self, int indent) |
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) |
Static Private Member Functions | |
| str | _indent (int indent, str message) |
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 | |
Error during condition evaluation.
Definition at line 131 of file exceptions.py.
| str homeassistant.exceptions.ConditionError.__str__ | ( | self | ) |
Return string representation.
Reimplemented from homeassistant.exceptions.HomeAssistantError.
Definition at line 145 of file exceptions.py.
|
staticprivate |
Return indentation.
Definition at line 137 of file exceptions.py.
| Generator[str] homeassistant.exceptions.ConditionError.output | ( | self, | |
| int | indent | ||
| ) |
Yield an indented representation.
Reimplemented in homeassistant.exceptions.ConditionErrorContainer, homeassistant.exceptions.ConditionErrorIndex, and homeassistant.exceptions.ConditionErrorMessage.
Definition at line 141 of file exceptions.py.