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

Function graphqlToolFailure

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

Source from the content-addressed store, hash-verified

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

Callers 1

plugin.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected