kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors.go

var sanitizer

// Forbidden renders a simple forbidden error
func Forbidden(ctx context.Context, attributes authorizer.Attributes, w http.ResponseWriter, req *http.Request, reason string, s runtime.NegotiatedSerializer) {}

func ForbiddenStatusError(attributes authorizer.Attributes, reason string) *apierrors.StatusError {}

func forbiddenMessage(attributes authorizer.Attributes) string {}

// InternalError renders a simple internal error
func InternalError(w http.ResponseWriter, req *http.Request, err error) {}