1541f37ce7
Another step towards removing core.dart and use the unified library only. BUG=4910 Review URL: https://chromiumcodereview.appspot.com//10914116 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11924 260f80e4-7a28-3924-810f-c04153c831b5
25 lines
560 B
Dart
25 lines
560 B
Dart
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
|
// 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 Error {
|
|
const Error();
|
|
}
|
|
|
|
class AssertionError implements Error {
|
|
}
|
|
|
|
class TypeError implements AssertionError {
|
|
}
|
|
|
|
// TODO(lrn): Rename to CastError according to specification.
|
|
class CastException implements Error {
|
|
}
|
|
|
|
class FallThroughError implements Error {
|
|
const FallThroughError();
|
|
}
|
|
|
|
class AbstractClassInstantiationError {
|
|
}
|