MCPcopy
hub / github.com/github/github-mcp-server / Error

Method Error

pkg/inventory/errors.go:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func (e *ToolDoesNotExistError) Error() string {
35 return fmt.Sprintf("tool %s does not exist", e.Name)
36}
37
38// NewToolDoesNotExistError creates a new ToolDoesNotExistError.
39func NewToolDoesNotExistError(name string) *ToolDoesNotExistError {

Calls

no outgoing calls

Tested by 15

TestFindToolByNameFunction · 0.36
TestWithToolsAdditiveFunction · 0.36
TestHasToolsetFunction · 0.36
TestServerToolIsReadOnlyFunction · 0.36
TestFeatureFlagBothFunction · 0.36
TestServerToolHasHandlerFunction · 0.36
TestBuilderWithFilterFunction · 0.36