Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Unified Diff: runtime/vm/json_stream.cc

Issue 1164463005: Rename some service protocol errors. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/json_stream.h ('k') | runtime/vm/profiler_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/json_stream.cc
diff --git a/runtime/vm/json_stream.cc b/runtime/vm/json_stream.cc
index efb1290cddbb62409d6677ef39b67639dbe86214..2470d19c4ff47890b38f895e305b5fd0d0de8ee7 100644
--- a/runtime/vm/json_stream.cc
+++ b/runtime/vm/json_stream.cc
@@ -95,14 +95,12 @@ static const char* GetJSONRpcErrorMessage(intptr_t code) {
return "Invalid params";
case kInternalError:
return "Internal error";
+ case kFeatureDisabled:
+ return "Feature is disabled";
case kVMMustBePaused:
return "VM must be paused";
- case kNoBreakAtLine:
- return "Cannot set breakpoint at line";
- case kNoBreakAtFunction:
- return "Cannot set breakpoint at function";
- case kProfilingDisabled:
- return "Profiling is disabled";
+ case kCannotAddBreakpoint:
+ return "Cannot add breakpoint";
default:
UNIMPLEMENTED();
return "Unexpected rpc error code";
« no previous file with comments | « runtime/vm/json_stream.h ('k') | runtime/vm/profiler_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698