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

Struct APIError

internal/cli/client.go:1060–1064  ·  view source on GitHub ↗

--- HTTP helpers ---

Source from the content-addressed store, hash-verified

1058// --- HTTP helpers ---
1059
1060type APIError struct {
1061 Code string `json:"code"`
1062 Message string `json:"message"`
1063 Details json.RawMessage `json:"details,omitempty"`
1064}
1065
1066func (e *APIError) Error() string {
1067 return e.Message

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected