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

Function graphqlToolFailure

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

Source from the content-addressed store, hash-verified

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

Callers 1

plugin.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected