Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/ThatGuySam/doesitarm
/ hasResponseStatus
Function
hasResponseStatus
helpers/http.js:36–38 ·
view source on GitHub ↗
( error )
Source
from the content-addressed store, hash-verified
34
}
35
36
function
hasResponseStatus ( error ) {
37
return
typeof error?.response?.status ===
'number'
38
}
39
40
export
function
shouldRetryError ( error ) {
41
return
hasResponseStatus( error ) && error.response.status >= 500
Callers
1
shouldRetryError
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected