mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:39:49 +00:00
5013ce6e5d
Change-Id: I6e7dcbd96e151a69fc67a6cd5e5af1620760b02a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/126647 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Jens Johansen <jensj@google.com> Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
20 lines
575 B
Dart
20 lines
575 B
Dart
// Copyright (c) 2019, 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.
|
|
|
|
part of dart._internal;
|
|
|
|
class LateInitializationErrorImpl extends Error
|
|
implements LateInitializationError {
|
|
final String? _message;
|
|
|
|
LateInitializationErrorImpl([this._message]);
|
|
|
|
String toString() {
|
|
var message = _message;
|
|
return (message != null)
|
|
? "LateInitializationError: $message"
|
|
: "LateInitializationError";
|
|
}
|
|
}
|