MCPcopy Index your code
hub / github.com/agent-ecosystem/skill-validator / exitCodeError

Struct exitCodeError

cmd/exitcode.go:15–17  ·  view source on GitHub ↗

exitCodeError is a sentinel error that carries a non-zero exit code. It is returned by output helpers and handled by Execute().

Source from the content-addressed store, hash-verified

13// exitCodeError is a sentinel error that carries a non-zero exit code.
14// It is returned by output helpers and handled by Execute().
15type exitCodeError struct {
16 code int
17}
18
19func (e exitCodeError) Error() string {
20 return fmt.Sprintf("exit code %d", e.code)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected