Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ThatGuySam/doesitarm
/ shouldRetryError
Function
shouldRetryError
helpers/http.js:40–42 ·
view source on GitHub ↗
( error )
Source
from the content-addressed store, hash-verified
38
}
39
40
export
function
shouldRetryError ( error ) {
41
return
hasResponseStatus( error ) && error.response.status >= 500
42
}
43
44
export
class
HttpError extends Error {
45
constructor ( message, {
Callers
2
http.test.ts
File · 0.90
request
Function · 0.85
Calls
1
hasResponseStatus
Function · 0.85
Tested by
no test coverage detected