Files
capsule/pkg/webhook/namespace/errors.go
2023-11-24 12:30:59 +01:00

15 lines
380 B
Go

// Copyright 2020-2023 Project Capsule Authors.
// SPDX-License-Identifier: Apache-2.0
package namespace
type namespaceQuotaExceededError struct{}
func NewNamespaceQuotaExceededError() error {
return &namespaceQuotaExceededError{}
}
func (namespaceQuotaExceededError) Error() string {
return "Cannot exceed Namespace quota: please, reach out to the system administrators"
}