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

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

Issue 1099633004: Fix error handling for formatting and update the spec (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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: 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 5b3c6ca7401365c3a9f9b3fb9c00f822659c8b3c..99f418a9fccd4a5ff809594828a09222283b2475 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
@@ -36,6 +36,11 @@ public class RequestErrorCode {
public static final String FORMAT_INVALID_FILE = "FORMAT_INVALID_FILE";
/**
+ * An "edit.format" request specified a file that contains syntax errors.
+ */
+ public static final String FORMAT_WITH_ERRORS = "FORMAT_WITH_ERRORS";
+
+ /**
* An "analysis.getErrors" request specified a FilePath which does not match a file currently
* subject to analysis.
*/

Powered by Google App Engine
This is Rietveld 408576698