mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Renaming Exceptions to Errors
This commit is contained in:
parent
36e28dbc80
commit
8952902d21
@ -471,9 +471,9 @@ class Timer(threading.Thread):
|
||||
{'now': now})
|
||||
|
||||
|
||||
class HomeAssistantException(Exception):
|
||||
class HomeAssistantError(Exception):
|
||||
""" General Home Assistant exception occured. """
|
||||
|
||||
|
||||
class ServiceDoesNotExistException(HomeAssistantException):
|
||||
class ServiceDoesNotExistError(HomeAssistantError):
|
||||
""" A service has been referenced that deos not exist. """
|
||||
|
Loading…
x
Reference in New Issue
Block a user