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

20 lines
409 B
Python

"""
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"""