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

Function IsStatusBadGateway

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

Source from the content-addressed store, hash-verified

840}
841
842func IsStatusBadGateway(err error) (yes bool) {
843 hErr, ok := err.(*ErrHTTP)
844 if !ok {
845 return false
846 }
847 return hErr.Status == http.StatusBadGateway
848}
849
850func IsStatusGone(err error) (yes bool) {
851 hErr, ok := err.(*ErrHTTP)

Callers 2

startListObjRangeFunction · 0.92
_waitMapVersionSyncFunction · 0.92

Calls

no outgoing calls

Tested by 1

startListObjRangeFunction · 0.74