MCPcopy Create free account
hub / github.com/decaporg/decap-cms / handleRequestError

Function handleRequestError

packages/decap-cms-lib-util/src/API.ts:191–193  ·  view source on GitHub ↗
(error: FetchError, responseStatus: number, backend: Backend)

Source from the content-addressed store, hash-verified

189}
190
191function handleRequestError(error: FetchError, responseStatus: number, backend: Backend) {
192 throw new APIError(error.message, responseStatus, backend);
193}
194
195export async function apiRequest(
196 path: string,

Callers 1

apiRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected