| Index: lib/core/errors.dart
|
| diff --git a/lib/core/errors.dart b/lib/core/errors.dart
|
| index ca9338723da621c5227759c84781abf51c3e36cc..6890f050077e0d12d478d7fd08e8e5280ec0c01a 100644
|
| --- a/lib/core/errors.dart
|
| +++ b/lib/core/errors.dart
|
| @@ -2,16 +2,21 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -class AssertionError {
|
| +class Error {
|
| + const Error();
|
| }
|
|
|
| -class TypeError extends AssertionError {
|
| +class AssertionError implements Error {
|
| }
|
|
|
| -class CastException extends TypeError {
|
| +class TypeError implements AssertionError {
|
| }
|
|
|
| -class FallThroughError {
|
| +// TODO(lrn): Rename to CastError according to specification.
|
| +class CastException implements Error {
|
| +}
|
| +
|
| +class FallThroughError implements Error {
|
| const FallThroughError();
|
| }
|
|
|
|
|