Index: runtime/lib/errors_patch.dart |
=================================================================== |
--- runtime/lib/errors_patch.dart (revision 36000) |
+++ runtime/lib/errors_patch.dart (working copy) |
@@ -334,3 +334,11 @@ |
_JavascriptIntegerOverflowError(this._value); |
String toString() => "Javascript Integer Overflow: $_value"; |
} |
+ |
+class _JavascriptCompatibilityError extends Error { |
+ final String _msg; |
+ |
+ _JavascriptCompatibilityError(this._msg); |
+ String toString() => "Javascript Compatibility Error: $_msg"; |
+} |
+ |