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

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

Issue 604333002: Specify when 'sortMembers' will return an error. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Specify the specific error codes 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
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 6175b05fc3936bfb76a784680935908d4221bfb0..381943ce4c2239da6e49b1fa71d0fc3fccdc1f93 100644
--- a/pkg/analysis_server/lib/src/generated_protocol.dart
+++ b/pkg/analysis_server/lib/src/generated_protocol.dart
@@ -8398,6 +8398,8 @@ class RequestError implements HasToJson {
* INVALID_REQUEST
* SERVER_ALREADY_STARTED
* SERVER_ERROR
+ * SORT_MEMBERS_INVALID_FILE
+ * SORT_MEMBERS_PARSE_ERRORS
* UNANALYZED_PRIORITY_FILES
* UNKNOWN_REQUEST
* UNSUPPORTED_FEATURE
@@ -8444,6 +8446,18 @@ class RequestErrorCode {
static const SERVER_ERROR = const RequestErrorCode._("SERVER_ERROR");
/**
+ * An "edit.sortMembers" request specified a FilePath which does not match a
+ * Dart file in an analysis root.
+ */
+ static const SORT_MEMBERS_INVALID_FILE = const RequestErrorCode._("SORT_MEMBERS_INVALID_FILE");
+
+ /**
+ * An "edit.sortMembers" request specified a Dart file that has scan or parse
+ * errors.
+ */
+ static const SORT_MEMBERS_PARSE_ERRORS = const RequestErrorCode._("SORT_MEMBERS_PARSE_ERRORS");
+
+ /**
* An "analysis.setPriorityFiles" request includes one or more files that are
* not being analyzed.
*
@@ -8485,6 +8499,10 @@ class RequestErrorCode {
return SERVER_ALREADY_STARTED;
case "SERVER_ERROR":
return SERVER_ERROR;
+ case "SORT_MEMBERS_INVALID_FILE":
+ return SORT_MEMBERS_INVALID_FILE;
+ case "SORT_MEMBERS_PARSE_ERRORS":
+ return SORT_MEMBERS_PARSE_ERRORS;
case "UNANALYZED_PRIORITY_FILES":
return UNANALYZED_PRIORITY_FILES;
case "UNKNOWN_REQUEST":
« no previous file with comments | « pkg/analysis_server/doc/api.html ('k') | pkg/analysis_server/test/integration/integration_test_methods.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698