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

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

Issue 532403002: Fix error handling in analysis.getError. (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
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 d1e0ded8516bc3faabbe281cf2fe91b3f1772176..12abbb36b8de312c1f278ef72f246fc1a80f9ea4 100644
--- a/pkg/analysis_server/lib/src/generated_protocol.dart
+++ b/pkg/analysis_server/lib/src/generated_protocol.dart
@@ -8089,7 +8089,7 @@ class RequestError implements HasToJson {
* RequestErrorCode
*
* enum {
- * GET_ERRORS_ERROR
+ * GET_ERRORS_INVALID_FILE
* INVALID_PARAMETER
* INVALID_REQUEST
* SERVER_ALREADY_STARTED
@@ -8100,13 +8100,10 @@ class RequestError implements HasToJson {
*/
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.
+ * An "analysis.getErrors" request specified a FilePath which does not match
+ * a file currently subject to analysis.
*/
- static const GET_ERRORS_ERROR = const RequestErrorCode._("GET_ERRORS_ERROR");
+ static const GET_ERRORS_INVALID_FILE = const RequestErrorCode._("GET_ERRORS_INVALID_FILE");
/**
* One of the method parameters was invalid.
@@ -8158,8 +8155,8 @@ class RequestErrorCode {
factory RequestErrorCode(String name) {
switch (name) {
- case "GET_ERRORS_ERROR":
- return GET_ERRORS_ERROR;
+ case "GET_ERRORS_INVALID_FILE":
+ return GET_ERRORS_INVALID_FILE;
case "INVALID_PARAMETER":
return INVALID_PARAMETER;
case "INVALID_REQUEST":

Powered by Google App Engine
This is Rietveld 408576698