MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / graphqlToolFailure

Function graphqlToolFailure

packages/plugins/graphql/src/sdk/plugin.ts:309–314  ·  view source on GitHub ↗
(code: string, message: string, details?: unknown)

Source from the content-addressed store, hash-verified

307);
308
309const graphqlToolFailure = (code: string, message: string, details?: unknown) =>
310 ToolResult.fail({
311 code,
312 message,
313 ...(details === undefined ? {} : { details }),
314 });
315
316const graphqlAuthToolFailure = (failure: GraphqlAuthRequiredError) =>
317 authToolFailure({

Callers 1

plugin.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected