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

Method Error

internal/cli/client.go:3548–3550  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3546}
3547
3548func (e *StatusError) Error() string {
3549 return fmt.Sprintf("API error: %d %s", e.Status, e.Body)
3550}
3551
3552// HTTPStatus is the HTTP status a request error carries, or 0 when the
3553// request got no answer at all (the server was unreachable) or the error did

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected