cic-internal-integration/apps/cic-notify/cic_notify/error.py

16 lines
430 B
Python
Raw Permalink Normal View History

2021-02-07 03:29:24 +01:00
class NotInitializedError(Exception):
pass
class AlreadyInitializedError(Exception):
pass
class PleaseCommitFirstError(Exception):
"""Raised when there exists uncommitted changes in the code while trying to build out the package."""
pass
2021-05-19 18:13:06 +02:00
class NotificationSendError(Exception):
"""Raised when a notification failed to due to some error as per the service responsible for dispatching the notification."""