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

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

Issue 570453002: gracefully handle internal exceptions during request (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge 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 f18e9bee7a33eda90f589e3daea9db20f09e1ae7..cc315a27f8cc506cd0bc9f2b0ff7c46359a6884b 100644
--- a/pkg/analysis_server/lib/src/generated_protocol.dart
+++ b/pkg/analysis_server/lib/src/generated_protocol.dart
@@ -8173,6 +8173,7 @@ class RequestError implements HasToJson {
* INVALID_PARAMETER
* INVALID_REQUEST
* SERVER_ALREADY_STARTED
+ * SERVER_ERROR
* UNANALYZED_PRIORITY_FILES
* UNKNOWN_REQUEST
* UNSUPPORTED_FEATURE
@@ -8213,6 +8214,12 @@ class RequestErrorCode {
static const SERVER_ALREADY_STARTED = const RequestErrorCode._("SERVER_ALREADY_STARTED");
/**
+ * An internal error occurred in the analysis server. Also see the
+ * server.error notification.
+ */
+ static const SERVER_ERROR = const RequestErrorCode._("SERVER_ERROR");
+
+ /**
* An "analysis.setPriorityFiles" request includes one or more files that are
* not being analyzed.
*
@@ -8252,6 +8259,8 @@ class RequestErrorCode {
return INVALID_REQUEST;
case "SERVER_ALREADY_STARTED":
return SERVER_ALREADY_STARTED;
+ case "SERVER_ERROR":
+ return SERVER_ERROR;
case "UNANALYZED_PRIORITY_FILES":
return UNANALYZED_PRIORITY_FILES;
case "UNKNOWN_REQUEST":
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_server.dart ('k') | pkg/analysis_server/test/integration/protocol_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698