Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/vercel/vercel
/ isAPIError
Function
isAPIError
packages/cli/src/util/errors-ts.ts:72–74 ·
view source on GitHub ↗
(v: unknown)
Source
from the content-addressed store, hash-verified
70
}
71
72
export
function
isAPIError(v: unknown): v is APIError {
73
return
isError(v) &&
'status'
in v;
74
}
75
76
/**
77
* When you
're fetching information for the current team but the client can'
t
Callers
15
fetch-trace.test.ts
File · 0.90
handleInitDeployment
Function · 0.90
handleDefaultDeploy
Function · 0.90
installationsList
Function · 0.90
acceptTerms
Function · 0.90
remove
Function · 0.90
update
Function · 0.90
list
Function · 0.90
resolveInspectScope
Function · 0.90
inspect
Function · 0.90
resolveAlertsScope
Function · 0.90
update
Function · 0.90
Calls
1
isError
Function · 0.90
Tested by
no test coverage detected