MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / NewGateError

Function NewGateError

app/cli/cmd/attestation_push.go:181–183  ·  view source on GitHub ↗
(policyName string)

Source from the content-addressed store, hash-verified

179}
180
181func NewGateError(policyName string) error {
182 return &GateError{PolicyName: policyName}
183}
184
185func (e *GateError) Error() string {
186 return fmt.Sprintf("the policy %q is configured as a gate and has violations", e.PolicyName)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected