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

Unified Diff: sdk/lib/_internal/lib/js_helper.dart

Issue 18259021: Introduce StackTraceOnThrowMixin. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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: sdk/lib/_internal/lib/js_helper.dart
diff --git a/sdk/lib/_internal/lib/js_helper.dart b/sdk/lib/_internal/lib/js_helper.dart
index 52d798b6aa6bd1986c84d9af63329af6666e3ab1..78395f09ccb492d03bcafcca7a964339c7f9b4d3 100644
--- a/sdk/lib/_internal/lib/js_helper.dart
+++ b/sdk/lib/_internal/lib/js_helper.dart
@@ -1481,7 +1481,7 @@ void throwCyclicInit(String staticName) {
/**
* Error thrown when a runtime error occurs.
*/
-class RuntimeError extends Error {
+class RuntimeError extends Error with StackTraceOnThrowMixin {
final message;
RuntimeError(this.message);
String toString() => "RuntimeError: $message";

Powered by Google App Engine
This is Rietveld 408576698