1
0
Fork 0
operator-repo/src/operator_repo/exceptions.py

20 lines
409 B
Python
Raw Normal View History

2023-08-03 08:52:14 +00:00
"""
Exceptions
"""
class OperatorRepoException(Exception):
"""Base exception class"""
class InvalidRepoException(OperatorRepoException):
"""Error caused by an invalid repository structure"""
class InvalidOperatorException(OperatorRepoException):
"""Error caused by an invalid operator"""
class InvalidBundleException(OperatorRepoException):
"""Error caused by an invalid bundle"""