MCPcopy 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
56func NewPolicyError(err error) *PolicyError {
57 return &PolicyError{err: err}
58}
59
60func (e *PolicyError) Error() string {
61 return e.err.Error()

Callers 5

VerifyMaterialMethod · 0.85
VerifyStatementMethod · 0.85
VerifyMaterialMethod · 0.85
VerifyStatementMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected