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

Function graphqlToolFailure

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

Source from the content-addressed store, hash-verified

291);
292
293const graphqlToolFailure = (code: string, message: string, details?: unknown) =>
294 ToolResult.fail({
295 code,
296 message,
297 ...(details === undefined ? {} : { details }),
298 });
299
300const graphqlAuthToolFailure = (failure: GraphqlAuthRequiredError) =>
301 authToolFailure({

Callers 1

plugin.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected