20 lines
409 B
Python
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"""
|