| Index: pkg/analysis_server/lib/protocol/protocol.dart
|
| diff --git a/pkg/analysis_server/lib/protocol/protocol.dart b/pkg/analysis_server/lib/protocol/protocol.dart
|
| index 0f913f9a3a6248e64641dd08cebd27eb92058770..d9f0f86748f8101652e14b76d1fd83eed0bea8c3 100644
|
| --- a/pkg/analysis_server/lib/protocol/protocol.dart
|
| +++ b/pkg/analysis_server/lib/protocol/protocol.dart
|
| @@ -470,6 +470,16 @@ class Response {
|
|
|
| /**
|
| * Initialize a newly created instance to represent the
|
| + * GET_IMPORTED_ELEMENTS_INVALID_FILE error condition.
|
| + */
|
| + Response.getImportedElementsInvalidFile(Request request)
|
| + : this(request.id,
|
| + error: new RequestError(
|
| + RequestErrorCode.GET_IMPORTED_ELEMENTS_INVALID_FILE,
|
| + 'Error during `analysis.getImportedElements`: invalid file.'));
|
| +
|
| + /**
|
| + * Initialize a newly created instance to represent the
|
| * GET_NAVIGATION_INVALID_FILE error condition.
|
| */
|
| Response.getNavigationInvalidFile(Request request)
|
| @@ -489,6 +499,16 @@ class Response {
|
| 'Error during `analysis.getReachableSources`: invalid file.'));
|
|
|
| /**
|
| + * Initialize a newly created instance to represent the
|
| + * IMPORT_ELEMENTS_INVALID_FILE error condition.
|
| + */
|
| + Response.importElementsInvalidFile(Request request)
|
| + : this(request.id,
|
| + error: new RequestError(
|
| + RequestErrorCode.IMPORT_ELEMENTS_INVALID_FILE,
|
| + 'Error during `edit.importElements`: 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.
|
|
|