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

Side by Side Diff: runtime/observatory/lib/src/elements/error_view.dart

Issue 2862383002: Clarify presentation of the target in retaining paths. (Closed)
Patch Set: review Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library error_view_element; 5 library error_view_element;
6 6
7 import 'dart:html'; 7 import 'dart:html';
8 import 'dart:async'; 8 import 'dart:async';
9 import 'package:observatory/models.dart' as M; 9 import 'package:observatory/models.dart' as M;
10 import 'package:observatory/src/elements/helpers/nav_bar.dart'; 10 import 'package:observatory/src/elements/helpers/nav_bar.dart';
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 switch (kind) { 82 switch (kind) {
83 case M.ErrorKind.unhandledException: 83 case M.ErrorKind.unhandledException:
84 return 'Unhandled Exception'; 84 return 'Unhandled Exception';
85 case M.ErrorKind.languageError: 85 case M.ErrorKind.languageError:
86 return 'Language Error'; 86 return 'Language Error';
87 case M.ErrorKind.internalError: 87 case M.ErrorKind.internalError:
88 return 'Internal Error'; 88 return 'Internal Error';
89 case M.ErrorKind.terminationError: 89 case M.ErrorKind.terminationError:
90 return 'Termination Error'; 90 return 'Termination Error';
91 } 91 }
92 throw new Exception('Unkown M.ErrorKind ($kind)'); 92 throw new Exception('Unknown M.ErrorKind ($kind)');
93 } 93 }
94 } 94 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/css/shared.css ('k') | runtime/observatory/lib/src/elements/inbound_references.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698