package acp const ( resumeForPrompt = "Resume the session before sending another prompt" resumeForConfig = "Resume the session before changing its configuration" ) func invalidParams(message string) *rpcError { return problem(-32602, "invalid_params", message) } func refuseBusy(message string) *rpcError { return problem(-32602, "busy", message) } func unknownMethod() *rpcError { return problem(-32601, "method_not_found", "Unknown method") } func noSession() *rpcError { return problem(-32002, "session_not_found", "Session is not attached") } func uncertain(message string) *rpcError { return problem(-32603, "observation_uncertain", message) } func internalError(message string) *rpcError { return problem(-32603, "internal_error", message) }