MCPcopy
hub / github.com/NVIDIA/aistore / IsStatusNotFound

Function IsStatusNotFound

cmn/err.go:834–840  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

832}
833
834func IsStatusNotFound(err error) (yes bool) {
835 hErr, ok := err.(*ErrHTTP)
836 if !ok {
837 return false
838 }
839 return hErr.Status == http.StatusNotFound
840}
841
842func IsStatusBadGateway(err error) (yes bool) {
843 hErr, ok := err.(*ErrHTTP)

Callers 7

getObjectFunction · 0.92
objectCheckExistsFunction · 0.92
handleObjHeadErrorFunction · 0.92
destroyBucketsFunction · 0.92
startDownloadHandlerFunction · 0.92
WaitForRebalAndResilFunction · 0.92
IsErrObjNoughtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected