| Index: pkg/analysis_server/lib/src/protocol.dart
|
| diff --git a/pkg/analysis_server/lib/src/protocol.dart b/pkg/analysis_server/lib/src/protocol.dart
|
| index 779c6ec3bdb9b1a6648729c118f28e822038753d..9736af46f28be421d97e3de0f6b1581b7120e74e 100644
|
| --- a/pkg/analysis_server/lib/src/protocol.dart
|
| +++ b/pkg/analysis_server/lib/src/protocol.dart
|
| @@ -851,15 +851,14 @@ class Response {
|
| }
|
|
|
| /**
|
| - * Initialize a newly created instance to represent an error condition caused
|
| - * by an error during `analysis.getErrors`.
|
| + * Initialize a newly created instance to represent the
|
| + * GET_ERRORS_INVALID_FILE error condition.
|
| */
|
| - Response.getErrorsError(Request request, String message,
|
| - Map<String, Object> result)
|
| + Response.getErrorsInvalidFile(Request request)
|
| : this(
|
| request.id,
|
| - error: new RequestError(RequestErrorCode.GET_ERRORS_ERROR, 'Error during `analysis.getErrors`: $message.'),
|
| - result: result);
|
| + error: new RequestError(RequestErrorCode.GET_ERRORS_INVALID_FILE,
|
| + 'Error during `analysis.getErrors`: invalid file.'));
|
|
|
| /**
|
| * Initialize a newly created instance to represent an error condition caused
|
|
|