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

Function wrapError

out/cli.cjs:77616–77623  ·  view source on GitHub ↗
(f4, message)

Source from the content-addressed store, hash-verified

77614
77615// node_modules/@azure/openai/dist-esm/src/api/OpenAIContext.js
77616function createOpenAI(endpoint, credential, options = {}) {
77617 const clientContext = rest_default(endpoint, credential, options);
77618 return clientContext;
77619}
77620
77621// node_modules/@azure/openai/dist-esm/src/api/util.js
77622function wrapError(f4, message) {
77623 try {
77624 const result = f4();
77625 return result;
77626 } catch (cause) {

Callers 2

getStream2Function · 0.85
getOaiSSEsFunction · 0.85

Calls 1

f4Function · 0.85

Tested by

no test coverage detected