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

Struct APIError

internal/cli/client.go:1109–1113  ·  view source on GitHub ↗

--- HTTP helpers ---

Source from the content-addressed store, hash-verified

1107// --- HTTP helpers ---
1108
1109type APIError struct {
1110 Code string `json:"code"`
1111 Message string `json:"message"`
1112 Details json.RawMessage `json:"details,omitempty"`
1113}
1114
1115func (e *APIError) Error() string {
1116 return e.Message

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected