Versions in this module Expand all Collapse all v2 v2.0.2 Oct 8, 2026 v2.0.1 Oct 7, 2026 Changes in this version + func ContextWithGitHubErrors(ctx context.Context) context.Context + func NewGitHubAPIErrorResponse(ctx context.Context, message string, resp *github.Response, err error) *mcp.CallToolResult + func NewGitHubAPIErrorToCtx(ctx context.Context, message string, resp *github.Response, err error) (context.Context, error) + func NewGitHubAPIStatusErrorResponse(ctx context.Context, message string, resp *github.Response, body []byte) *mcp.CallToolResult + func NewGitHubGraphQLErrorResponse(ctx context.Context, message string, err error) *mcp.CallToolResult + func NewGitHubGraphQLErrorToCtx(ctx context.Context, message string, err error) (context.Context, error) + func NewGitHubRawAPIErrorResponse(ctx context.Context, message string, resp *http.Response, err error) *mcp.CallToolResult + func NewStructuredResolutionErrorResponse(err *StructuredResolutionError) *mcp.CallToolResult + type GitHubAPIError struct + Err error + Message string + Response *github.Response + func GetGitHubAPIErrors(ctx context.Context) ([]*GitHubAPIError, error) + func (e *GitHubAPIError) Error() string + type GitHubCtxErrors struct + type GitHubErrorKey struct + type GitHubGraphQLError struct + Err error + Message string + func GetGitHubGraphQLErrors(ctx context.Context) ([]*GitHubGraphQLError, error) + func (e *GitHubGraphQLError) Error() string + type GitHubRawAPIError struct + Err error + Message string + Response *http.Response + func GetGitHubRawAPIErrors(ctx context.Context) ([]*GitHubRawAPIError, error) + func (e *GitHubRawAPIError) Error() string + type StructuredResolutionError struct + Candidates []any + Field string + Hint string + Kind string + Name string + func NewStructuredResolutionError(kind, name, hint string, candidates []any) *StructuredResolutionError + func (e *StructuredResolutionError) Error() string Other modules containing this package github.com/github/github-mcp-server