| 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 785a54f71e0da58e2f18d0aee0dc436f35cb3c68..1da0ba49fee2b5ac5dd93c08794b8662f2900465 100644
|
| --- a/pkg/analysis_server/lib/src/protocol.dart
|
| +++ b/pkg/analysis_server/lib/src/protocol.dart
|
| @@ -529,6 +529,14 @@ class Response {
|
| : this(request.id, new RequestError(-10, 'Unknown analysis service: "$name"'));
|
|
|
| /**
|
| + * 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.
|
| + */
|
| + Response.unanalyzedPriorityFiles(Request request, String fileNames)
|
| + : this(request.id, new RequestError(-11, "Unanalyzed files cannot be a priority: '$fileNames'"));
|
| +
|
| + /**
|
| * Initialize a newly created instance based upon the given JSON data
|
| */
|
| factory Response.fromJson(Map<String, Object> json) {
|
|
|