| 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 65c4d0e27a82bc5fd2fc6066104fce4040f86ef3..8ce7e103702e7fec42b40e9695b9fe9b3c061328 100644
|
| --- a/pkg/analysis_server/lib/src/protocol.dart
|
| +++ b/pkg/analysis_server/lib/src/protocol.dart
|
| @@ -962,6 +962,26 @@ class Response {
|
| : this('', error: new RequestError(RequestErrorCode.INVALID_REQUEST, 'Invalid request'));
|
|
|
| /**
|
| + * Initialize a newly created instance to represent the
|
| + * SORT_MEMBERS_INVALID_FILE error condition.
|
| + */
|
| + Response.sortMembersInvalidFile(Request request)
|
| + : this(
|
| + request.id,
|
| + error: new RequestError(RequestErrorCode.SORT_MEMBERS_INVALID_FILE,
|
| + 'Error during `edit.sortMembers`: invalid file.'));
|
| +
|
| + /**
|
| + * Initialize a newly created instance to represent the
|
| + * SORT_MEMBERS_PARSE_ERRORS error condition.
|
| + */
|
| + Response.sortMembersParseErrors(Request request, int numErrors)
|
| + : this(
|
| + request.id,
|
| + error: new RequestError(RequestErrorCode.SORT_MEMBERS_PARSE_ERRORS,
|
| + 'Error during `edit.sortMembers`: file has $numErrors scan/parse errors.'));
|
| +
|
| + /**
|
| * Initialize a newly created instance to represent an error condition caused
|
| * by a `analysis.setPriorityFiles` [request] that includes one or more files
|
| * that are not being analyzed.
|
|
|