| 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 21d8b08b6ae918573d44bb1a92f2e0b003e1ff24..9aa9bde22e001f27123e3fba9ba1bd790e73fc76 100644
|
| --- a/pkg/analysis_server/lib/src/protocol.dart
|
| +++ b/pkg/analysis_server/lib/src/protocol.dart
|
| @@ -462,6 +462,9 @@ class Response {
|
| Response.contextAlreadyExists(Request request)
|
| : this(request.id, new RequestError(-8, 'Context already exists'));
|
|
|
| + Response.unsupportedFeature(String requestId, String message)
|
| + : this(requestId, new RequestError(-9, message));
|
| +
|
| /**
|
| * Initialize a newly created instance based upon the given JSON data
|
| */
|
| @@ -690,6 +693,9 @@ class RequestError {
|
| }
|
| return jsonObject;
|
| }
|
| +
|
| + @override
|
| + String toString() => toJson().toString();
|
| }
|
|
|
| /**
|
|
|