Index: runtime/bin/vmservice/client/lib/src/elements/service_exception_view.dart |
diff --git a/runtime/bin/vmservice/client/lib/src/elements/stack_trace.dart b/runtime/bin/vmservice/client/lib/src/elements/service_exception_view.dart |
similarity index 55% |
copy from runtime/bin/vmservice/client/lib/src/elements/stack_trace.dart |
copy to runtime/bin/vmservice/client/lib/src/elements/service_exception_view.dart |
index f92630eb2b8b516123da7287fcaa834a4fc28b81..9a161e4830d1225a0f3efb3d5a0fa030a8dfe352 100644 |
--- a/runtime/bin/vmservice/client/lib/src/elements/stack_trace.dart |
+++ b/runtime/bin/vmservice/client/lib/src/elements/service_exception_view.dart |
@@ -2,19 +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 stack_trace_element; |
+library service_exception_view_element; |
-import 'package:polymer/polymer.dart'; |
import 'observatory_element.dart'; |
+import 'package:polymer/polymer.dart'; |
import 'package:observatory/service.dart'; |
-@CustomTag('stack-trace') |
-class StackTraceElement extends ObservatoryElement { |
- @published ServiceMap trace; |
- |
- StackTraceElement.created() : super.created(); |
+/// Displays a ServiceException |
+@CustomTag('service-exception-view') |
+class ServiceExceptionViewElement extends ObservatoryElement { |
+ @published ServiceException exception; |
- void refresh(var done) { |
- trace.reload().whenComplete(done); |
- } |
-} |
+ ServiceExceptionViewElement.created() : super.created(); |
+} |