Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/RequestErrorCode.java

Issue 535333003: Clarify some of the analysis server errors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analysis_server/doc/api.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/RequestErrorCode.java
diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/RequestErrorCode.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/RequestErrorCode.java
index 67079ef3e673635c04697583f90b03b4a5a284b0..c5203efa611321c61ba4344408e0312249b16da2 100644
--- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/RequestErrorCode.java
+++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/generated/types/RequestErrorCode.java
@@ -25,6 +25,8 @@ public class RequestErrorCode {
/**
* An error occurred during the processing of an "analysis.getErrors" request.
+ *
+ * This is a legacy error; it will be removed before the API reaches version 1.0.
*/
public static final String GET_ERRORS_ERROR = "GET_ERRORS_ERROR";
@@ -40,11 +42,16 @@ public class RequestErrorCode {
/**
* The analysis server has already been started (and hence won't accept new connections).
+ *
+ * This error is included for future expansion; at present the analysis server can only speak to
+ * one client at a time so this error will never occur.
*/
public static final String SERVER_ALREADY_STARTED = "SERVER_ALREADY_STARTED";
/**
* An "analysis.setPriorityFiles" request includes one or more files that are not being analyzed.
+ *
+ * This is a legacy error; it will be removed before the API reaches version 1.0.
*/
public static final String UNANALYZED_PRIORITY_FILES = "UNANALYZED_PRIORITY_FILES";
@@ -56,6 +63,8 @@ public class RequestErrorCode {
/**
* The analysis server was requested to perform an action which is not supported.
+ *
+ * This is a legacy error; it will be removed before the API reaches version 1.0.
*/
public static final String UNSUPPORTED_FEATURE = "UNSUPPORTED_FEATURE";
« no previous file with comments | « no previous file | pkg/analysis_server/doc/api.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698