MCPcopy Create free account
hub / github.com/cue-labs/oci / StatusCode

Method StatusCode

ociregistry/error.go:222–224  ·  view source on GitHub ↗

StatusCode implements [HTTPError.StatusCode].

()

Source from the content-addressed store, hash-verified

220
221// StatusCode implements [HTTPError.StatusCode].
222func (e *httpError) StatusCode() int {
223 return e.statusCode
224}
225
226// Response implements [HTTPError.Response].
227func (e *httpError) Response() *http.Response {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected