22 lines
478 B
Python
22 lines
478 B
Python
"""Custom Exceptions for HACS."""
|
|
|
|
|
|
class HacsException(Exception):
|
|
"""Super basic."""
|
|
|
|
|
|
class HacsRepositoryArchivedException(HacsException):
|
|
"""For repositories that are archived."""
|
|
|
|
|
|
class HacsNotModifiedException(HacsException):
|
|
"""For responses that are not modified."""
|
|
|
|
|
|
class HacsExpectedException(HacsException):
|
|
"""For stuff that are expected."""
|
|
|
|
|
|
class HacsRepositoryExistException(HacsException):
|
|
"""For repositories that are already exist."""
|