DuplicateObjectError¶
- exception controller.exceptions.DuplicateObjectError(message, *, user=None, kind, namespace=None)¶
Bases:
SlackException
Multiple Kubernetes objects were found when one was expected.
- Parameters:
- to_slack()¶
Convert to a Slack message for Slack alerting.
- Returns:
Slack message suitable for posting as an alert.
- Return type: