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

Unified Diff: pkg/analysis_server/lib/src/generated_protocol.dart

Issue 1042403002: add UNKNOWN_SOURCE error code and remove 2 unused legacy error codes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 5 years, 9 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 | « pkg/analysis_server/doc/api.html ('k') | pkg/analysis_server/test/integration/protocol_matchers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/generated_protocol.dart
diff --git a/pkg/analysis_server/lib/src/generated_protocol.dart b/pkg/analysis_server/lib/src/generated_protocol.dart
index bbd757212b84223508bc58a39f3b219e2bc65c63..5a9860e8b19a7148d9f74cb624cae5651851f9ea 100644
--- a/pkg/analysis_server/lib/src/generated_protocol.dart
+++ b/pkg/analysis_server/lib/src/generated_protocol.dart
@@ -9350,6 +9350,7 @@ class RequestError implements HasToJson {
* SORT_MEMBERS_PARSE_ERRORS
* UNANALYZED_PRIORITY_FILES
* UNKNOWN_REQUEST
+ * UNKNOWN_SOURCE
* UNSUPPORTED_FEATURE
* }
*/
@@ -9450,6 +9451,12 @@ class RequestErrorCode implements Enum {
static const UNKNOWN_REQUEST = const RequestErrorCode._("UNKNOWN_REQUEST");
/**
+ * The analysis server was requested to perform an action on a source that
+ * does not exist.
+ */
+ static const UNKNOWN_SOURCE = const RequestErrorCode._("UNKNOWN_SOURCE");
+
+ /**
* The analysis server was requested to perform an action which is not
* supported.
*
@@ -9461,7 +9468,7 @@ class RequestErrorCode implements Enum {
/**
* A list containing all of the enum values that are defined.
*/
- static const List<RequestErrorCode> VALUES = const <RequestErrorCode>[CONTENT_MODIFIED, FORMAT_INVALID_FILE, GET_ERRORS_INVALID_FILE, INVALID_EXECUTION_CONTEXT, INVALID_OVERLAY_CHANGE, INVALID_PARAMETER, INVALID_REQUEST, NO_INDEX_GENERATED, REFACTORING_REQUEST_CANCELLED, SERVER_ALREADY_STARTED, SERVER_ERROR, SORT_MEMBERS_INVALID_FILE, SORT_MEMBERS_PARSE_ERRORS, UNANALYZED_PRIORITY_FILES, UNKNOWN_REQUEST, UNSUPPORTED_FEATURE];
+ static const List<RequestErrorCode> VALUES = const <RequestErrorCode>[CONTENT_MODIFIED, FORMAT_INVALID_FILE, GET_ERRORS_INVALID_FILE, INVALID_EXECUTION_CONTEXT, INVALID_OVERLAY_CHANGE, INVALID_PARAMETER, INVALID_REQUEST, NO_INDEX_GENERATED, REFACTORING_REQUEST_CANCELLED, SERVER_ALREADY_STARTED, SERVER_ERROR, SORT_MEMBERS_INVALID_FILE, SORT_MEMBERS_PARSE_ERRORS, UNANALYZED_PRIORITY_FILES, UNKNOWN_REQUEST, UNKNOWN_SOURCE, UNSUPPORTED_FEATURE];
final String name;
@@ -9499,6 +9506,8 @@ class RequestErrorCode implements Enum {
return UNANALYZED_PRIORITY_FILES;
case "UNKNOWN_REQUEST":
return UNKNOWN_REQUEST;
+ case "UNKNOWN_SOURCE":
+ return UNKNOWN_SOURCE;
case "UNSUPPORTED_FEATURE":
return UNSUPPORTED_FEATURE;
}
« no previous file with comments | « pkg/analysis_server/doc/api.html ('k') | pkg/analysis_server/test/integration/protocol_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698