Files
sdk/lib/core/errors.dart
T
lrn@google.com 1541f37ce7 Remove errors.dart in dart2js compiler.
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
2012-09-06 08:34:06 +00:00

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 {
}