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