MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / APIError

Struct APIError

internal/cli/client.go:1377–1381  ·  view source on GitHub ↗

--- HTTP helpers ---

Source from the content-addressed store, hash-verified

1375// --- HTTP helpers ---
1376
1377type APIError struct {
1378 Code string `json:"code"`
1379 Message string `json:"message"`
1380 Details json.RawMessage `json:"details,omitempty"`
1381}
1382
1383func (e *APIError) Error() string {
1384 return e.Message

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected