Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chainloop-dev/chainloop
/ NewPolicyError
Function
NewPolicyError
pkg/policies/policies.go:56–58 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
54
}
55
56
func
NewPolicyError(err error) *PolicyError {
57
return
&PolicyError{err: err}
58
}
59
60
func
(e *PolicyError) Error() string {
61
return
e.err.Error()
Callers
5
VerifyMaterial
Method · 0.85
VerifyStatement
Method · 0.85
VerifyMaterial
Method · 0.85
evaluatePolicyAttachment
Method · 0.85
VerifyStatement
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected