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

Struct APIError

internal/cli/client.go:1394–1398  ·  view source on GitHub ↗

--- HTTP helpers ---

Source from the content-addressed store, hash-verified

1392// --- HTTP helpers ---
1393
1394type APIError struct {
1395 Code string `json:"code"`
1396 Message string `json:"message"`
1397 Details json.RawMessage `json:"details,omitempty"`
1398}
1399
1400func (e *APIError) Error() string {
1401 return e.Message

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected