Files
sdk/pkg/front_end/lib/src/simple_error.dart
T

12 lines
348 B
Dart

import 'package:front_end/compilation_error.dart';
import 'package:source_span/source_span.dart' show SourceSpan;
/// An error that only contains a message and no error location.
class SimpleError implements CompilationError {
String get correction => null;
SourceSpan get span => null;
final String message;
SimpleError(this.message);
}