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

Unified Diff: runtime/observatory/lib/src/elements/general_error.dart

Issue 897193002: Finish moving service protocol to json rpc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 5 years, 10 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
Index: runtime/observatory/lib/src/elements/general_error.dart
diff --git a/runtime/observatory/lib/src/elements/error_view.dart b/runtime/observatory/lib/src/elements/general_error.dart
similarity index 59%
copy from runtime/observatory/lib/src/elements/error_view.dart
copy to runtime/observatory/lib/src/elements/general_error.dart
index 53582cc84ba0388534a9d7420288b42e54be665d..7bf3ec194ad6efcd2381f9baecfa5545fb075bc9 100644
--- a/runtime/observatory/lib/src/elements/error_view.dart
+++ b/runtime/observatory/lib/src/elements/general_error.dart
@@ -2,16 +2,16 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library error_view_element;
+library general_error_element;
import 'observatory_element.dart';
import 'package:polymer/polymer.dart';
import 'package:observatory/service.dart';
-/// Displays an Error ServiceObject.
-@CustomTag('error-view')
-class ErrorViewElement extends ObservatoryElement {
- @published DartError error;
+/// Displays an error message
+@CustomTag('general-error')
+class GeneralErrorElement extends ObservatoryElement {
+ @published String message;
- ErrorViewElement.created() : super.created();
-}
+ GeneralErrorElement.created() : super.created();
+}
« no previous file with comments | « runtime/observatory/lib/src/elements/function_view.html ('k') | runtime/observatory/lib/src/elements/general_error.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698