MCPcopy
hub / github.com/hacs/integration / AddonRepositoryException

Class AddonRepositoryException

custom_components/hacs/exceptions.py:28–37  ·  view source on GitHub ↗

Exception to raise when user tries to add add-on repository.

Source from the content-addressed store, hash-verified

26
27
28class AddonRepositoryException(HacsException):
29 """Exception to raise when user tries to add add-on repository."""
30
31 exception_message = (
32 "The repository does not seem to be a integration, "
33 "but an add-on repository. HACS does not manage add-ons."
34 )
35
36 def __init__(self) -> None:
37 super().__init__(self.exception_message)
38
39
40class HomeAssistantCoreRepositoryException(HacsException):

Callers 2

validate_repositoryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…