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

Struct APIError

internal/cli/client.go:1211–1215  ·  view source on GitHub ↗

--- HTTP helpers ---

Source from the content-addressed store, hash-verified

1209// --- HTTP helpers ---
1210
1211type APIError struct {
1212 Code string `json:"code"`
1213 Message string `json:"message"`
1214 Details json.RawMessage `json:"details,omitempty"`
1215}
1216
1217func (e *APIError) Error() string {
1218 return e.Message

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected