DuplicateObjectError#
- exception controller.exceptions.DuplicateObjectError(message, *, user=None, kind, namespace=None)#
Bases:
SlackException
Multiple Kubernetes objects were found when one was expected.
- Parameters:
- to_sentry()#
Return a collection of Sentry event metadata about the exception.
- Returns:
Sentry event metadata for use with
before_send_handler
- Return type:
- to_slack()#
Convert to a Slack message for Slack alerting.
- Returns:
Slack message suitable for posting as an alert.
- Return type: