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

Function newGracefulError

app/cli/cmd/errors.go:43–45  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

41}
42
43func newGracefulError(err error) error {
44 return GracefulError{err}
45}
46
47var ErrAttestationNotInitialized = errors.New("attestation not yet initialized, execute the init command first")
48var ErrAttestationAlreadyExist = errors.New("attestation already initialized, to override it use the --replace flag`")

Callers 4

newAttestationResetCmdFunction · 0.85
newPolicyDevelopInitCmdFunction · 0.85
newAttestationPushCmdFunction · 0.85
newAttestationInitCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected