Versions in this module Expand all Collapse all v1 v1.8.0 Oct 16, 2025 Changes in this version + type MCPError struct + Cause error + Message string + Operation string + StatusCode int + Suggestion string + func ConflictError(operation, action, resourceType, resourceID, currentState string) *MCPError + func NetworkError(operation string, cause error) *MCPError + func NewMCPError(operation, message string, cause error) *MCPError + func NotFoundError(operation, resourceType, resourceID string) *MCPError + func ParseHTTPError(operation string, err error, resourceID string) *MCPError + func PermissionError(operation, resourceType, resourceID string) *MCPError + func ServerError(operation string, cause error) *MCPError + func ValidationError(operation, parameter, issue string) *MCPError + func (e *MCPError) Error() string + func (e *MCPError) ToJSONRPCCode() int + func (e *MCPError) Unwrap() error + func (e *MCPError) WithStatusCode(code int) *MCPError + func (e *MCPError) WithSuggestion(suggestion string) *MCPError