diff --git a/pkg/mining/service.go b/pkg/mining/service.go index 8d88b5d..94ebab8 100644 --- a/pkg/mining/service.go +++ b/pkg/mining/service.go @@ -49,7 +49,7 @@ type Service struct { mcpServer *ginmcp.GinMCP } -// APIError represents a structured error response for the API +// APIError{Code: "miner_not_found", Message: "xmrig not running", Retryable: false} type APIError struct { Code string `json:"code"` // Machine-readable error code Message string `json:"message"` // Human-readable message