# What this PR does ## Which issue(s) this PR fixes ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [ ] Documentation added (or `pr:no public docs` PR label added if not required) - [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required)
23 lines
532 B
Python
23 lines
532 B
Python
class OperationCouldNotBePerformedError(Exception):
|
|
"""
|
|
Indicates that operation could not be performed due to application logic.
|
|
E.g. you can't ack resolved AlertGroup
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class MaintenanceCouldNotBeStartedError(OperationCouldNotBePerformedError):
|
|
pass
|
|
|
|
|
|
class TeamCanNotBeChangedError(OperationCouldNotBePerformedError):
|
|
pass
|
|
|
|
|
|
class UnableToSendDemoAlert(OperationCouldNotBePerformedError):
|
|
pass
|
|
|
|
|
|
class UserNotificationPolicyCouldNotBeDeleted(OperationCouldNotBePerformedError):
|
|
pass
|