Home Assistant Unofficial Reference 2024.12.1
homeassistant.exceptions Namespace Reference

Classes

class  ConditionError
 
class  ConditionErrorContainer
 
class  ConditionErrorIndex
 
class  ConditionErrorMessage
 
class  ConfigEntryAuthFailed
 
class  ConfigEntryError
 
class  ConfigEntryNotReady
 
class  ConfigValidationError
 
class  DependencyError
 
class  HomeAssistantError
 
class  IntegrationError
 
class  InvalidEntityFormatError
 
class  InvalidStateError
 
class  MaxLengthExceeded
 
class  NoEntitySpecifiedError
 
class  PlatformNotReady
 
class  ServiceNotFound
 
class  ServiceValidationError
 
class  TemplateError
 
class  Unauthorized
 
class  UnknownUser
 

Functions

( Callable[[str, str, dict[str, str]|None], str]) import_async_get_exception_message ()
 

Detailed Description

The exceptions used by Home Assistant.

Function Documentation

◆ import_async_get_exception_message()

( Callable[[str, str, dict[str, str] | None], str] ) homeassistant.exceptions.import_async_get_exception_message ( )
Return a method that can fetch a translated exception message.

Defaults to English, requires translations to already be cached.

Definition at line 18 of file exceptions.py.