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

Method StatusCode

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

StatusCode returns the HTTP status code of the response.

()

Source from the content-addressed store, hash-verified

146
147 // StatusCode returns the HTTP status code of the response.
148 StatusCode() int
149
150 // Response holds the HTTP response that caused the HTTPError to
151 // be created. It will return nil if the error was not created

Callers 4

MarshalErrorFunction · 0.95
TestNonJSONErrorResponseFunction · 0.95
acquireAccessTokenMethod · 0.95
acquireTokenMethod · 0.95

Implementers 1

httpErrorociregistry/error.go

Calls

no outgoing calls

Tested by 1

TestNonJSONErrorResponseFunction · 0.76