MCPcopy 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
72export 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

handleInitDeploymentFunction · 0.90
handleDefaultDeployFunction · 0.90
installationsListFunction · 0.90
acceptTermsFunction · 0.90
removeFunction · 0.90
updateFunction · 0.90
listFunction · 0.90
resolveInspectScopeFunction · 0.90
inspectFunction · 0.90
resolveAlertsScopeFunction · 0.90
updateFunction · 0.90

Calls 1

isErrorFunction · 0.90

Tested by

no test coverage detected