Chromium Code Reviews| Index: lib/core/errors.dart |
| diff --git a/lib/core/errors.dart b/lib/core/errors.dart |
| index cef165e44728c97eb978ecbc1e66d28af62ca70f..97465fc23149b9a3da68a5cf9ce35495e111b537 100644 |
| --- a/lib/core/errors.dart |
| +++ b/lib/core/errors.dart |
| @@ -129,3 +129,9 @@ class NoSuchMethodError implements Error { |
| external static String _objectToString(Object object); |
| } |
| + |
| + |
| +class OutOfMemoryError implements Exception { |
| + const OutOfMemoryError(); |
| + String toString() => "Out of Memory"; |
| +} |