oncall-engine/engine/common/exceptions/exceptions.py
Ildar Iskhakov f825fdf1a3
Send demo alert with dynamic payload and get demo payload example on private api (#1700)
# 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)
2023-04-18 02:48:11 +00:00

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