Index: pkg/analysis_server/lib/plugin/protocol/protocol.dart |
diff --git a/pkg/analysis_server/lib/plugin/protocol/protocol.dart b/pkg/analysis_server/lib/plugin/protocol/protocol.dart |
index 2e339577a8e2cf305f2d2679862c062f425195d2..5617efc873f260fdab4d0c44d70b4b6f96af1df8 100644 |
--- a/pkg/analysis_server/lib/plugin/protocol/protocol.dart |
+++ b/pkg/analysis_server/lib/plugin/protocol/protocol.dart |
@@ -411,6 +411,16 @@ class Response { |
'Error during `analysis.getNavigation`: invalid file.')); |
/** |
+ * Initialize a newly created instance to represent the |
+ * GET_REACHABLE_SOURCES_INVALID_FILE error condition. |
+ */ |
+ Response.getReachableSourcesInvalidFile(Request request) |
+ : this(request.id, |
+ error: new RequestError( |
+ RequestErrorCode.GET_REACHABLE_SOURCES_INVALID_FILE, |
+ 'Error during `analysis.getReachableSources`: invalid file.')); |
+ |
+ /** |
* Initialize a newly created instance to represent an error condition caused |
* by an analysis.reanalyze [request] that specifies an analysis root that is |
* not in the current list of analysis roots. |