Chromium Code Reviews| Index: corelib/src/errors.dart |
| diff --git a/corelib/src/errors.dart b/corelib/src/errors.dart |
| index 265f657914fc52e7eb37da97c4524ca3b01cb67d..0954b3a19102fd3149d66398ee5d1370766c0fe7 100644 |
| --- a/corelib/src/errors.dart |
| +++ b/corelib/src/errors.dart |
| @@ -4,3 +4,13 @@ |
| class AssertionError { |
| } |
| + |
| +class TypeError extends AssertionError { |
| +} |
| + |
| +class CastException extends TypeError { |
| +} |
| + |
| +class FallThroughError { |
| + const FallThroughError(); |
| +} |