MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / makeStatusError

Method makeStatusError

out/cli.cjs:69719–69721  ·  view source on GitHub ↗
(status, error, message, headers)

Source from the content-addressed store, hash-verified

69717 * This is useful for cases where you want to add certain headers based off of
69718 * the request properties, e.g. `method` or `url`.
69719 */
69720 async prepareRequest(request3, { url: url2, options }) {
69721 }
69722 parseHeaders(headers) {
69723 return !headers ? {} : Symbol.iterator in headers ? Object.fromEntries(Array.from(headers).map((header) => [...header])) : { ...headers };
69724 }

Callers 1

makeRequestMethod · 0.80

Calls 1

generateMethod · 0.45

Tested by

no test coverage detected