| Index: runtime/vm/json_stream.h
|
| diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h
|
| index c878ef7ee74aec3b770122debf8edf46d616b02f..4a061787afa18840eb60cb1ff690dfc7ffebcbd2 100644
|
| --- a/runtime/vm/json_stream.h
|
| +++ b/runtime/vm/json_stream.h
|
| @@ -28,7 +28,11 @@ class String;
|
| class Zone;
|
|
|
|
|
| -// Keep this in sync with runtime/observatory/lib/src/service/object.dart.
|
| +// Keep this enum in sync with:
|
| +//
|
| +// - runtime/vm/service/vmservice.dart
|
| +// - runtime/observatory/lib/src/service/object.dart
|
| +//
|
| enum JSONRpcErrorCode {
|
| kParseError = -32700,
|
| kInvalidRequest = -32600,
|
| @@ -36,9 +40,11 @@ enum JSONRpcErrorCode {
|
| kInvalidParams = -32602,
|
| kInternalError = -32603,
|
|
|
| - kFeatureDisabled = 100,
|
| - kVMMustBePaused = 101,
|
| - kCannotAddBreakpoint = 102,
|
| + kFeatureDisabled = 100,
|
| + kVMMustBePaused = 101,
|
| + kCannotAddBreakpoint = 102,
|
| + kStreamAlreadySubscribed = 103,
|
| + kStreamNotSubscribed = 104,
|
| };
|
|
|
|
|
|
|