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

Function handleRequestError

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

Source from the content-addressed store, hash-verified

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

Callers 1

apiRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected