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

Method handleRequestError

packages/decap-cms-backend-gitea/src/API.ts:210–212  ·  view source on GitHub ↗
(error: FetchError, responseStatus: number)

Source from the content-addressed store, hash-verified

208 }
209
210 handleRequestError(error: FetchError, responseStatus: number) {
211 throw new APIError(error.message, responseStatus, API_NAME);
212 }
213
214 buildRequest(req: ApiRequest) {
215 return req;

Callers 1

requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected