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

Function graphqlToolFailure

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

Source from the content-addressed store, hash-verified

277);
278
279const graphqlToolFailure = (code: string, message: string, details?: unknown) =>
280 ToolResult.fail({
281 code,
282 message,
283 ...(details === undefined ? {} : { details }),
284 });
285
286const graphqlAuthToolFailure = (failure: GraphqlAuthRequiredError) =>
287 authToolFailure({

Callers 1

plugin.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected