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

Function graphqlToolFailure

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

Source from the content-addressed store, hash-verified

157);
158
159const graphqlToolFailure = (code: string, message: string, details?: unknown) =>
160 ToolResult.fail({
161 code,
162 message,
163 ...(details === undefined ? {} : { details }),
164 });
165
166const graphqlAuthToolFailure = (failure: GraphqlAuthRequiredError) =>
167 authToolFailure({

Callers 1

plugin.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected