ErrNoAlertmanagerConfiguration=errutil.Internal("alerting.notification.configMissing",errutil.WithPublicMessage("No alertmanager configuration present in this organization"))
ErrBadAlertmanagerConfiguration=errutil.Internal("alerting.notification.configCorrupted").MustTemplate("Failed to unmarshal the Alertmanager configuration",errutil.WithPublic("Current Alertmanager configuration in the storage is corrupted. Reset the configuration or rollback to a recent valid one."))
"Resource with provenance status '{{ .Public.CurrentProvenance }}' cannot be managed via API that handles resources with provenance status '{{ .Public.TargetProvenance }}'",
errutil.WithPublic("Resource with provenance status '{{ .Public.CurrentProvenance }}' cannot be managed via API that handles resources with provenance status '{{ .Public.TargetProvenance }}'. You must use appropriate API to manage this resource"),
ErrTimeIntervalExists=errutil.BadRequest("alerting.notifications.time-intervals.nameExists",errutil.WithPublicMessage("Time interval with this name already exists. Use a different name or update existing one."))
ErrTimeIntervalInvalid=errutil.BadRequest("alerting.notifications.time-intervals.invalidFormat").MustTemplate("Invalid format of the submitted time interval",errutil.WithPublic("Time interval is in invalid format. Correct the payload and try again."))
ErrTimeIntervalInUse=errutil.Conflict("alerting.notifications.time-intervals.used",errutil.WithPublicMessage("Time interval is used by one or many notification policies"))
ErrContactPointReferenced=errutil.BadRequest("alerting.notifications.contact-points.referenced",errutil.WithPublicMessage("Contact point is currently referenced by a notification policy."))