MCPcopy Create free account
hub / github.com/NV404/gova / BuildError

Struct BuildError

internal/devserver/builder.go:12–15  ·  view source on GitHub ↗

Build runs `go build -o out pkg` from the given working directory. Returns stderr output on failure so the caller can display it verbatim.

Source from the content-addressed store, hash-verified

10// Build runs `go build -o out pkg` from the given working directory.
11// Returns stderr output on failure so the caller can display it verbatim.
12type BuildError struct {
13 Stderr string
14 Err error
15}
16
17func (e *BuildError) Error() string {
18 if e.Stderr == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected